author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 31 Dec 2009 03:04:38 +0000 (19:04 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 31 Dec 2009 07:29:12 +0000 (23:29 -0800) | ||
commit | 4cc47382dfc2a71257934042f6c009287e101cb3 | |
tree | d76e60d975b5766e15bf5d8430e9f77087bc6881 | tree | snapshot |
parent | c18d5d82b45cb6963b3229556cedd587d94afca9 | commit | diff |
bash completion: add space between branch name and status flags
Improve the readability of the bash prompt by adding a space between
the branch name and the status flags (dirty, stash, untracked).
While we are cleaning up this section of code, the two cases for
formatting the prompt are identical except for the format string,
so make them the same.
Suggested-by: Roman Fietze <roman.fietze@telemotive.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Improve the readability of the bash prompt by adding a space between
the branch name and the status flags (dirty, stash, untracked).
While we are cleaning up this section of code, the two cases for
formatting the prompt are identical except for the format string,
so make them the same.
Suggested-by: Roman Fietze <roman.fietze@telemotive.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | diff | blob | history |