diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-05-25 11:08:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-02 15:28:47 -0700 |
commit | bf42772e38db8e758aa28a045e8cba88096a9fcc (patch) | |
tree | d6ba4088263ca0811ffbf1c9762afc4cb9023e52 /revision.h | |
parent | 66ce0366285f73c340f04a21b3d8be898d7bf5a7 (diff) | |
download | git-bf42772e38db8e758aa28a045e8cba88096a9fcc.tar.gz |
register_ref(): make a copy of the bad reference SHA-1
The lifetime of the sha1 parameter passed to an each_ref_fn callback
is not guaranteed, so make a copy for later use.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions