summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2011-12-12 06:38:23 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-12 09:08:53 -0800
commitdd73ecd1bc8903036d58cf7afb0010ef4aaf8695 (patch)
tree19689baaf748b69e96317dabe663d77d063ca788 /shell.c
parentcreate_ref_entry(): extract function from add_ref() (diff)
downloadtgif-dd73ecd1bc8903036d58cf7afb0010ef4aaf8695.tar.xz
add_ref(): take a (struct ref_entry *) parameter
Take a pointer to the ref_entry to add to the array, rather than creating the ref_entry within the function. This opens the way to having multiple kinds of ref_entries. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shell.c')
0 files changed, 0 insertions, 0 deletions