Skip to content
Permalink
Browse files

Merge pull request #2185 from dscho/fix-status-with-rebase-ir

Fix `git status`' display of `git rebase -ir`'s `label` commands
  • Loading branch information...
dscho committed May 10, 2019
2 parents 81a060a + ec9eed5 commit e3538d8eb3036fad3d396f07b0a514f77e242755
Showing with 3 additions and 1 deletion.
  1. +3 −1 wt-status.c
@@ -1197,7 +1197,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);

0 comments on commit e3538d8

Please sign in to comment.
You can’t perform that action at this time.