File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -735,7 +735,6 @@ __git_list_porcelain_commands ()
735
735
quiltimport) : import;;
736
736
read-tree) : plumbing;;
737
737
receive-pack) : plumbing;;
738
- reflog) : plumbing;;
739
738
remote-* ) : transport;;
740
739
repo-config) : deprecated;;
741
740
rerere) : plumbing;;
@@ -1632,6 +1631,18 @@ _git_rebase ()
1632
1631
__gitcomp " $( __git_refs) "
1633
1632
}
1634
1633
1634
+ _git_reflog ()
1635
+ {
1636
+ local subcommands=" show delete expire"
1637
+ local subcommand=" $( __git_find_on_cmdline " $subcommands " ) "
1638
+
1639
+ if [ -z " $subcommand " ]; then
1640
+ __gitcomp " $subcommands "
1641
+ else
1642
+ __gitcomp " $( __git_refs) "
1643
+ fi
1644
+ }
1645
+
1635
1646
__git_send_email_confirm_options=" always never auto cc compose"
1636
1647
__git_send_email_suppresscc_options=" author self cc bodycc sob cccmd body all"
1637
1648
You can’t perform that action at this time.
0 commit comments