summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 08c701d)
raw | patch | inline | side by side (parent: 08c701d)
author | Thomas Rast <trast@student.ethz.ch> | |
Wed, 23 Jul 2008 21:36:15 +0000 (23:36 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 24 Jul 2008 00:06:36 +0000 (17:06 -0700) |
It previously used the same as 'log', but the options are quite
different and the arguments must be single refs (or globs).
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
different and the arguments must be single refs (or globs).
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | patch | blob | history |
index e20d57a1ba82d9356630912f92d1cf1713309685..3b049348c3a4ed1b9c1f08340b023ac4597e5f4f 100755 (executable)
__git_complete_file
}
+_git_show_branch ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ case "$cur" in
+ --*)
+ __gitcomp "
+ --all --remotes --topo-order --current --more=
+ --list --independent --merge-base --no-name
+ --sha1-name --topics --reflog
+ "
+ return
+ ;;
+ esac
+ __git_complete_revlist
+}
+
_git_stash ()
{
local subcommands='save list show apply clear drop pop create'
send-email) _git_send_email ;;
shortlog) _git_shortlog ;;
show) _git_show ;;
- show-branch) _git_log ;;
+ show-branch) _git_show_branch ;;
stash) _git_stash ;;
submodule) _git_submodule ;;
svn) _git_svn ;;