Re: [PATCH 4/6] refs.c: Have a write_in_full_to_lock_file wrapping write_in_full

2015-01-21 Thread Jeff King
On Wed, Jan 21, 2015 at 03:23:43PM -0800, Stefan Beller wrote: > Now we only have one place where we need to touch the internals of > the lock_file struct. I wonder if the point of the previous patch would be more obvious if it were combined with this one. I am OK leaving them separate, though.

[PATCH 4/6] refs.c: Have a write_in_full_to_lock_file wrapping write_in_full

2015-01-21 Thread Stefan Beller
Now we only have one place where we need to touch the internals of the lock_file struct. No functional changes intended. Signed-off-by: Stefan Beller --- refs.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/refs.c b/refs.c index 8281bed..311599b 100644 ---