[PATCH] git bash completion handles alias options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



git bash completion now handles git alias options. It means that options which
change the completion behavior for complete commands will also change the
behavior of completion for aliased command.  

bash completion now handle git alias options. I did a use case in another
commit: a checkout alias which only complete local branches, ie. only 'refs'
ones, not 'remotes'. With this new alias completion, I added an option to do
that in checkout command and hacked _git_checkout complete function.

Best,
  Jerome

Jerome Reybert (1):
  git bash completion handles alias options

 contrib/completion/git-completion.bash | 31 +++++++++++++++++++++++++------
 1 file changed, 25 insertions(+), 6 deletions(-)

-- 
1.7.12.rc0.91.gf4edd99

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]