summaryrefslogtreecommitdiff
path: root/exec_cmd.c
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder@ira.uka.de>2011-09-05 20:53:37 +0200
committerLibravatar SZEDER Gábor <szeder@ira.uka.de>2013-06-24 17:22:09 +0200
commit96ea404757ac3f97335277062a7d7c6e8975cc4f (patch)
treeba9320a3c2f1970d435627f7f9ce55a59be10e58 /exec_cmd.c
parentbash prompt: print unique detached HEAD abbreviated object name (diff)
downloadtgif-96ea404757ac3f97335277062a7d7c6e8975cc4f.tar.xz
bash prompt: return early from __git_ps1() when not in a git repository
... to gain one level of indentation for the bulk of the function. (The patch looks quite unreadable, you'd better check it with 'git diff -w'.) Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Diffstat (limited to 'exec_cmd.c')
0 files changed, 0 insertions, 0 deletions