Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Post 2.3 cycle (batch #3)
[gitweb.git]
/
wt-status.c
diff --git
a/wt-status.c
b/wt-status.c
index b54eac5af6233de183144230259bd317cf24513a..29666d0dbaa5af768aca86f3ca0b644ac9720648 100644
(file)
--- a/
wt-status.c
+++ b/
wt-status.c
@@
-1140,7
+1140,7
@@
static char *read_and_strip_branch(const char *path)
if (strbuf_read_file(&sb, git_path("%s", path), 0) <= 0)
goto got_nothing;
- while (
&
sb.len && sb.buf[sb.len - 1] == '\n')
+ while (sb.len && sb.buf[sb.len - 1] == '\n')
strbuf_setlen(&sb, sb.len - 1);
if (!sb.len)
goto got_nothing;