commit | 15a54fb8095502217fce7c7c6dd14e9066b62ebe | [log] [tgz] |
---|---|---|
author | Ramkumar Ramachandra <artagnon@gmail.com> | Fri May 17 14:25:46 2013 +0530 |
committer | Junio C Hamano <gitster@pobox.com> | Fri May 17 10:01:17 2013 -0700 |
tree | 94a246223cb321b3ff7b33ece9300f71c962b5de | |
parent | 629b60a77d0bca1358af666605548acc4dcc5841 [diff] |
prompt: introduce GIT_PS1_STATESEPARATOR A typical prompt looks like: artagnon|master *=:~/src/git$ ^ why do we have this space? Nobody has branch names that end with +, *, =, < or > anyway, so it doesn't serve the purpose of disambiguation. Make this separator configurable via GIT_PS1_STATESEPARATOR. This means that you can set it to "" and get this prompt: artagnon|master*=:~/src/git$ Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>