Commit 872ccb2
refs: pass NULL to refs_resolve_refdup() if hash is not needed
This gets us rid of a write-only variable.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 744c040 commit 872ccb2
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2499 | 2499 | | |
2500 | 2500 | | |
2501 | 2501 | | |
2502 | | - | |
2503 | 2502 | | |
2504 | 2503 | | |
2505 | 2504 | | |
| |||
2556 | 2555 | | |
2557 | 2556 | | |
2558 | 2557 | | |
2559 | | - | |
| 2558 | + | |
2560 | 2559 | | |
2561 | 2560 | | |
2562 | 2561 | | |
| |||
0 commit comments