diff options
| author | Michael Haggerty <mhagger@alum.mit.edu> | 2016-04-07 15:02:55 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-04-10 11:35:13 -0700 |
| commit | 419c6f4c76c5950a33ed2cedbce9c6f7d66773f6 (patch) | |
| tree | bd632defe38ae1d4747ad4e48f78a3868c1d0cc3 /commit.c | |
| parent | t1430: improve test coverage of deletion of badly-named refs (diff) | |
| download | git-419c6f4c76c5950a33ed2cedbce9c6f7d66773f6.tar.gz git-419c6f4c76c5950a33ed2cedbce9c6f7d66773f6.zip | |
resolve_missing_loose_ref(): simplify semantics
Make resolve_missing_loose_ref() only responsible for looking up a
packed reference, without worrying about whether we want to read or
write the reference and without setting errno on failure. Move the other
logic to the caller.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: David Turner <dturner@twopensource.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
