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 /commit-graph.c | |
| parent | Git 2.30 (diff) | |
| download | git-d4a497664875c84c4ab8318625bb8881508ac18a.tar.gz git-d4a497664875c84c4ab8318625bb8881508ac18a.zip | |
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 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
