Skip to content

Commit

Permalink
Merge pull request #2185 from dscho/fix-status-with-rebase-ir
Browse files Browse the repository at this point in the history
Fix `git status`' display of `git rebase -ir`'s `label` commands
  • Loading branch information
dscho authored and Git for Windows Build Agent committed May 10, 2019
2 parents 2ea57e1 + ec9eed5 commit aa65c89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wt-status.c
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,9 @@ static void abbrev_sha1_in_line(struct strbuf *line)
int i;

if (starts_with(line->buf, "exec ") ||
starts_with(line->buf, "x "))
starts_with(line->buf, "x ") ||
starts_with(line->buf, "label ") ||
starts_with(line->buf, "l "))
return;

split = strbuf_split_max(line, ' ', 3);
Expand Down

0 comments on commit aa65c89

Please sign in to comment.