refs: pass NULL to refs_resolve_refdup() if hash is not needed
commit872ccb2c69ce44abb198efa1013dd4e0887a7495
authorRené Scharfe <l.s.r@web.de>
Sun, 1 Oct 2017 07:28:50 +0000 (1 09:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 1 Oct 2017 08:26:58 +0000 (1 17:26 +0900)
treec37253ba91682f1bdeecc4984084813b297117bb
parent744c040b19412fa5075810eb1aced105fad96726
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>
refs/files-backend.c