author | Junio C Hamano <gitster@pobox.com> | |
Mon, 30 Mar 2009 20:29:57 +0000 (13:29 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 30 Mar 2009 20:29:57 +0000 (13:29 -0700) |
* maint:
Update draft release notes to 1.6.2.2
Fix bash completion in path with spaces
bash completion: only show 'log --merge' if merging
git-tag(1): add hint about commit messages
Documentation: update graph api example.
Update draft release notes to 1.6.2.2
Fix bash completion in path with spaces
bash completion: only show 'log --merge' if merging
git-tag(1): add hint about commit messages
Documentation: update graph api example.
1 | 2 | |||
---|---|---|---|---|
contrib/completion/git-completion.bash | patch | | diff1 | | diff2 | | blob | history |
diff --cc contrib/completion/git-completion.bash
index 1c6b0e28eff43caea4d7078d18d196c6d36fbbd4,8431837f9705d9a940819db4fcd51283f433ba1a..e72ce2428dd44176484ed88823dee6dd8707400c
__git_has_doubledash && return
local cur="${COMP_WORDS[COMP_CWORD]}"
- local g="$(git rev-parse --git-dir 2>/dev/null)"
+ local g="$(__gitdir)"
local merge=""
- if [ -f $g/MERGE_HEAD ]; then
+ if [ -f "$g/MERGE_HEAD" ]; then
merge="--merge"
fi
case "$cur" in