New issue 53 by Rolenun: GitSharp.Index.Remove needs to complement
GitSharp.Index.Add
http://code.google.com/p/gitsharp/issues/detail?id=53
GitSharp.Index.Add increments status from Untracked to Modified to Changed.
GitSharp.Index.Remove decrements status from Changed to Untracked.
It skips the Modified state.
Note: Changed is GitSharp's representation of a file that has been staged
with modifications.
One more conditional issue is when a file is staged and the same file is
also modified after the staging. If GitSharp.Index.Remove is performed,
which file is to take precedence and which changes are to be lost. (ie the
staged file or the modified file).
From what I have been able to determine so far, this is not an API issue,
but rather, a core issue.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
I suggest, first to write a small testcase that asserts the correct
behavior. then
anyone who feels like fixing this one can pick up the task.
-- henon
It is already written in the status command tests and will be available
with my next
commit.