Skip to content

Commit a37cd6c

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
committed
Merge pull request #2185 from dscho/fix-status-with-rebase-ir
Fix `git status`' display of `git rebase -ir`'s `label` commands
2 parents 5b0f6af + ec9eed5 commit a37cd6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

wt-status.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,9 @@ static void abbrev_sha1_in_line(struct strbuf *line)
12151215
int i;
12161216

12171217
if (starts_with(line->buf, "exec ") ||
1218-
starts_with(line->buf, "x "))
1218+
starts_with(line->buf, "x ") ||
1219+
starts_with(line->buf, "label ") ||
1220+
starts_with(line->buf, "l "))
12191221
return;
12201222

12211223
split = strbuf_split_max(line, ' ', 3);

0 commit comments

Comments
 (0)