threads / discuss / 24583

Git bash completion and special characters (particularly #)

Subject: Git bash completion and special characters (particularly #)

## tl;dr

One message between Jul 30, 2010 and Jul 30, 2010.

replies: 0people: 1as markdown or json

Dobes Vandermeer· Jul 30, 2010, 18:54 UTC · lore

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

← back to recent threads