Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
completion: use tabs for indentation
author
Philip Jägenstedt
<philip@foolip.org>
Wed, 22 Feb 2012 08:58:13 +0000
(09:58 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 22 Feb 2012 21:57:38 +0000
(13:57 -0800)
CodingGuidlines confidently declares "We use tabs for indentation."
It would be a shame if it were caught lying.
Signed-off-by: Philip Jägenstedt <philip@foolip.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
176158c
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 6bfb02266c7e87dbfd5c4bec915ae27a21682674..0acbdda3b8af423fc4911af4d337658a4841c899 100755
(executable)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-286,13
+286,13
@@
__git_ps1 ()
fi
fi
if [ -n "${GIT_PS1_SHOWSTASHSTATE-}" ]; then
- git rev-parse --verify refs/stash >/dev/null 2>&1 && s="$"
+ git rev-parse --verify refs/stash >/dev/null 2>&1 && s="$"
fi
if [ -n "${GIT_PS1_SHOWUNTRACKEDFILES-}" ]; then
- if [ -n "$(git ls-files --others --exclude-standard)" ]; then
- u="%"
- fi
+
if [ -n "$(git ls-files --others --exclude-standard)" ]; then
+
u="%"
+
fi
fi
if [ -n "${GIT_PS1_SHOWUPSTREAM-}" ]; then