diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2016-04-07 15:03:08 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-10 11:35:37 -0700 |
commit | ded83936106a94f854873e949fa7928dce8dbdd1 (patch) | |
tree | b90763b2bb9cdc211bf4799cd2809c2b654c45a3 /pack-revindex.h | |
parent | be7651a34727d847e150cea564357c37d8a334c9 (diff) | |
download | git-ded83936106a94f854873e949fa7928dce8dbdd1.tar.gz git-ded83936106a94f854873e949fa7928dce8dbdd1.tar.xz |
check_aliased_update(): check that dst_name is non-NULL
If there is an error in resolve_ref_unsafe(), it returns NULL. We check
for this case, but not until after calling strip_namespace(). Instead,
call strip_namespace() *after* the NULL check.
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>
Diffstat (limited to 'pack-revindex.h')
0 files changed, 0 insertions, 0 deletions