summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-11-25 18:40:55 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-11-25 18:40:55 -0800
commitf9b329a7d1454fba71e6a72e92aff981afdacdd4 (patch)
tree2ab0b449e98207bda6122c3b1932a73293607755 /contrib/completion
parentUpdate draft release notes for 1.8.1 (diff)
parentGit 1.8.0.1 (diff)
downloadtgif-f9b329a7d1454fba71e6a72e92aff981afdacdd4.tar.xz
Sync with 1.8.0.1
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index bc0657a224..85ae4191e5 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -321,7 +321,7 @@ __git_refs ()
if [[ "$ref" == "$cur"* ]]; then
echo "$ref"
fi
- done | uniq -u
+ done | sort | uniq -u
fi
return
fi