This is much faster (below 0.1s):
__git_index_files ()
{
local dir="$(__gitdir)" root="${2-.}" file;
if [ -d "$dir" ]; then
__git_ls_files_helper "$root" "$1" | \
sed -r 's@/.*@@' | uniq | sort | uniq
fi
}
time __git_index_files
real0m0.075s
user0m0.083s
s
Hi all,
I'm currently using git annex to manage my entire file collection
(including tons of music and books) and I noticed how slow
autocompletion has become for files in the index (say for git add).
The main offender is a while-read-case-echo bash loop in
__git_index_files that can be readily su
Hi all,
I usually keep my dotfiles, scripts, etc. in a git repo at ~, both as
a backup solution and as a way to sync config between my different
computers and remote servers in which I have to work. Some of these
computers require a small number of local configurations that I like
to keep in a rep
> - return "*";
> + return commit->parents ? "*" : "^" ;
I like this idea.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
> http://stackoverflow.com/questions/22541261/git-log-of-all-branchs-in-only-the-current-tree
>
> I think this is a bug in the UI.
Please notice this happens only for the --oneline output.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.
Hi all,
the graph output of log show orphan branches in a way that suggests
they have a parent. See for example:
http://stackoverflow.com/questions/22541261/git-log-of-all-branchs-in-only-the-current-tree
I think this is a bug in the UI.
Cheers
--
Carlos
--
To unsubscribe from this list: send t
For example, I can do:
git clone --depth 1 --branch devel g...@gitlab.com:memeplex/bash.git
But if I try:
git submodule add --depth 1 -b devel g...@gitlab.com:memeplex/bash.git
I get:
fatal: Cannot update paths and switch to branch 'devel' at the same time.
Did you intend to checkout 'origin/d
7 matches
Mail list logo