Feed the reference log when creating and updating references#1577
Feed the reference log when creating and updating references#1577nulltoken wants to merge 5 commits intolibgit2:developmentfrom nulltoken:topic/reference_log
Conversation
nulltoken
commented
May 13, 2013
- git_reference_create_with_log()
- git_reference_symbolic_create_with_log()
- git_reference_symbolic_set_target_with_log()
- git_reference_set_target_with_log()
|
It'd be awesome if you could make |
|
I of course mean |
|
You mean adding a |
|
Fair enough, that keeps the semantics of a part failing simpler for us. |
|
You're right, we don't know whether it is an amend or a newly-created branch, so we wouldn't produce the same output as git. This makes the first argument of |
|
@cmn If that makes sense, I'd rather work incrementally and tackle the |
|
Sure, I was just thinking out loud |
There was a problem hiding this comment.
This is not good. The reflog was designed to be an append data structure: we should be able to call git_reflog_append without having to read the reflog beforehand.
|
I would prefer if this PR came in conjunction with:
|
|
@carlosmn is taking this over in another PR. Following there. |