summaryrefslogtreecommitdiff
path: root/prompt.h
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-05-17 14:25:46 +0530
committerJunio C Hamano <gitster@pobox.com>2013-05-17 10:01:17 -0700
commit15a54fb8095502217fce7c7c6dd14e9066b62ebe (patch)
tree94a246223cb321b3ff7b33ece9300f71c962b5de /prompt.h
parent629b60a77d0bca1358af666605548acc4dcc5841 (diff)
downloadgit-15a54fb8095502217fce7c7c6dd14e9066b62ebe.tar.gz
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>
Diffstat (limited to 'prompt.h')
0 files changed, 0 insertions, 0 deletions