Skip to content

Commit aa65c89

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 2ea57e1 + ec9eed5 commit aa65c89

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
@@ -1227,7 +1227,9 @@ static void abbrev_sha1_in_line(struct strbuf *line)
12271227
int i;
12281228

12291229
if (starts_with(line->buf, "exec ") ||
1230-
starts_with(line->buf, "x "))
1230+
starts_with(line->buf, "x ") ||
1231+
starts_with(line->buf, "label ") ||
1232+
starts_with(line->buf, "l "))
12311233
return;
12321234

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

0 commit comments

Comments
 (0)