diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-06-03 15:51:58 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-03 11:44:25 -0700 |
commit | f5517074f8f5cecc773b2ff927be4a059f2c9db0 (patch) | |
tree | eeb57f600f2713cbf0042b40beaa90eb57767d95 /git-gui/lib/database.tcl | |
parent | for-each-ref: report broken references correctly (diff) | |
download | tgif-f5517074f8f5cecc773b2ff927be4a059f2c9db0.tar.xz |
read_loose_refs(): simplify function logic
Make it clearer that there are two possible ways to read the
reference, but that we handle read errors uniformly regardless of
which way it was read.
This refactoring also makes the following change easier to implement.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/database.tcl')
0 files changed, 0 insertions, 0 deletions