]> git.ipfire.org Git - thirdparty/git.git/commitdiff
bash-completion: add git-prune into bash completion
authorJohn Lin <johnlinp@gmail.com>
Mon, 22 Jun 2020 00:13:55 +0000 (00:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jun 2020 18:29:38 +0000 (11:29 -0700)
Sometimes git would suggest the user to run `git prune` when there are
too many unreachable loose objects. It's more user-friendly if we add
git-prune into bash completion.

Signed-off-by: John Lin <johnlinp@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
command-list.txt

index cbb960c843668ad75b6497f8f661687a7e5dc45e..89aa60cde7e0659e955fdcfb963a8859bf69a567 100644 (file)
@@ -136,7 +136,7 @@ git-pack-redundant                      plumbinginterrogators
 git-pack-refs                           ancillarymanipulators
 git-parse-remote                        synchelpers
 git-patch-id                            purehelpers
-git-prune                               ancillarymanipulators
+git-prune                               ancillarymanipulators   complete
 git-prune-packed                        plumbingmanipulators
 git-pull                                mainporcelain           remote
 git-push                                mainporcelain           remote