Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] git-completion: Add git help completion for aliases

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:51

SZEDER Gábor [off-list ref] writes:
I think this is not necessary.  We already run __git_aliases() every
time after 'git <TAB>', and it was not an issue so far.
If we allow that line of reasoning, the cached $__git_all_commands that
can go stale needs to be removed, no?  I think folks running bash on
windows wanted it and it would be helping them.

One valid looking argument against caching aliases but still caching
commands is that the former could change on the end user's whim while the
latter is more or less stable across releases, but people can throw their
own "git-frotz" in their path and run it as "git frotz", so that is not
entirely a valid argument, either.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help