Git bash completion and special characters (particularly #)
- From
- Dobes Vandermeer <dobesv@gmail.com>
- Date
- Jul 30, 2010, 18:54 UTC
- Message-ID
- <AANLkTi=+HhRUJ2wGc4nUZ7pVbnKa+A3pq4tNXx0dBpn_@mail.gmail.com>
Git bash completion is great, but we always have special characters in our branches - particularly we name the branch after the trac ticket #, like "#1234-foo".
Git's branch completion mechanism doesn't quote the branch name in this case, so the branch name and anything after it is commented out.
Any idea how hard it would be to wrap the branch name in quotes (possibly only when there's characters requiring quoting in the branch name) ?
Thanks,
Dobes