Skip to content

Commit 119e594

Browse files
author
Edward Thomson
committed
Commands.Unstage: write the index
1 parent 20e03ee commit 119e594

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LibGit2Sharp/Commands/Stage.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ public static void Unstage(IRepository repository, IEnumerable<string> paths, Ex
199199
{
200200
repository.Index.Replace(repository.Head.Tip, paths, explicitPathsOptions);
201201
}
202+
203+
repository.Index.Write();
202204
}
203205

204206
/// <summary>

0 commit comments

Comments
 (0)