refs: pass NULL to resolve_refdup() if hash is not needed
authorRené Scharfe <l.s.r@web.de>
Sun, 1 Oct 2017 07:29:03 +0000 (09:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 1 Oct 2017 08:27:14 +0000 (17:27 +0900)
commitefbd4fdfc9978bf3872ca8cf390da4ffa3480188
treeb3e8b62af87e612724c2b4a95dc2cbf1c94f6e90
parent872ccb2c69ce44abb198efa1013dd4e0887a7495
refs: pass NULL to resolve_refdup() if hash is not needed

This allows us to get rid of several write-only variables.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
builtin/receive-pack.c
ref-filter.c
reflog-walk.c
transport.c
wt-status.c