diff options
| author | Brandon Casey <casey@nrlssc.navy.mil> | 2008-01-16 13:14:30 -0600 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-01-16 15:36:10 -0800 |
| commit | b531394d5829b22fd40e38e1d3aa6e97cb5b84ef (patch) | |
| tree | f7dd355059289985779ba34e451b53dc7b235d76 /builtin-http-fetch.c | |
| parent | Improve use of lockfile API (diff) | |
| download | git-b531394d5829b22fd40e38e1d3aa6e97cb5b84ef.tar.gz git-b531394d5829b22fd40e38e1d3aa6e97cb5b84ef.zip | |
refs.c: rework ref_locks by abstracting from underlying struct lock_file
Instead of calling close_lock_file() and commit_lock_file() directly,
which take a struct lock_file argument, add two new functions:
close_ref() and commit_ref(), which handle calling the previous
lock_file functions and modifying the ref_lock structure.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-http-fetch.c')
0 files changed, 0 insertions, 0 deletions
