-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace git command update-ref by a LibGit2Sharp call to UpdateRef() #356
Conversation
😍 |
@spraints I work quite some time on your commit (trying to correct the build) before figuring out what you trying to do...
|
FWIW, I discussed this topic with @Saaman. We don't plan on making the However, the Hope this helps. |
@nulltoken - cool. Is someone working on the |
I intend to start this on friday. It should be finished for the middle of next week maximum I guess. I don't know if it is soon-ish enough for you... |
Eventually, yes. Along with most of the reflog related work as well. The plan is to make it quickly available to .Net/Mono clients with a reasonable good test coverage. Let it live in the wild for a wild and ... fix bugs, add some more tests ;-) Once it's stable enough, port the code to C, replace the C# implementation with call to native methods, ensuring that no regression has happened thanks to the LibGit2Sharp reflog tests. |
@Saaman sounds good to me! |
@pmiossec I updated my branch (using VS this time @nulltoken and @Saaman - Would it make sense to add an optional log message to
I'm not sure that Add+UpdateTarget is going to actually make me a reflog entry for the first commit. Would it be reasonable make Add look like
|
I see your point. I tested it with I will implement it in the next few days. |
Replace Process.Start with libgit2sharp. (closes #360)
PS : there is one more not replaced because we use "update-ref" with a comment.
Perhaps we should do the replacement anyway. If you judge, so, do it... ;)