resolve_ref_1(): reorder code
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 7 Apr 2016 19:02:59 +0000 (15:02 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Apr 2016 18:35:21 +0000 (11:35 -0700)
commite6702e570ba4a8501362594b66b74d0ecff002dd
tree9fdbc33c42368331d2f50f200e02f248ea5ed8dc
parent90c28ae11c5a9d8386606c727be1d80699c9aa92
resolve_ref_1(): reorder code

There is no need to adjust *flags if we're just about to fail.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: David Turner <dturner@twopensource.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c