why git-completion.bash is not autocompleting show-ref? -
the git autocompletion has show
, show-branch
not show-ref
. because autocompletion list not complete? or there other reason?
[note] using latest git source (git version 1.7.5.128.g50d30)
come think of it, asnwer, of course:
i think show-ref plumbing, not porcelain
porcelain can used in various contexts including non-standard (overriden git_dir, git_work_tree, temporary directories, locks, whatnot). ill-advised use completion scripts indiscriminately during such operations, because invariably rely on other git subcommands, may not valid @ time
this theory, people welcome supplement :)
Comments
Post a Comment