diff options
| author | Martin Ågren <martin.agren@gmail.com> | 2021-01-05 20:23:46 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-01-06 13:53:32 -0800 |
| commit | d4a497664875c84c4ab8318625bb8881508ac18a (patch) | |
| tree | 848c96bd9fe84614f1cf7865273d83c6bdfb53e6 /refs/files-backend.c | |
| parent | 71ca53e8125e36efbda17293c50027d31681a41f (diff) | |
builtin/gc: don't peek into `struct lock_file`
A `struct lock_file` is pretty much just a wrapper around a tempfile.
But it's easy enough to avoid relying on this. Use the wrappers that the
lock file API provides rather than peeking at the temp file or even into
*its* internals.
Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions
