Skip to content

Commit c20b469

Browse files
committed
fix: can not unstage changes with amend (#1582)
`git update-index --index-info` requires paths are separted by LF (not CRLF) Signed-off-by: leo <longshuang@msn.cn>
1 parent 46690f4 commit c20b469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/UnstageChangesForAmend.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public UnstageChangesForAmend(string repo, List<Models.Change> changes)
4444
_patchBuilder.Append(c.Path);
4545
}
4646

47-
_patchBuilder.AppendLine();
47+
_patchBuilder.Append('\n');
4848
}
4949
}
5050

0 commit comments

Comments
 (0)