aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-12-12 06:38:23 +0100
committerJunio C Hamano <gitster@pobox.com>2011-12-12 09:08:53 -0800
commitdd73ecd1bc8903036d58cf7afb0010ef4aaf8695 (patch)
tree19689baaf748b69e96317dabe663d77d063ca788 /builtin/commit-tree.c
parentcreate_ref_entry(): extract function from add_ref() (diff)
downloadgit-dd73ecd1bc8903036d58cf7afb0010ef4aaf8695.tar.gz
git-dd73ecd1bc8903036d58cf7afb0010ef4aaf8695.zip
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 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions
/td>5-11/+13 This patch renames git-pack-intersect to git-pack-redundant as suggested by Petr Baudis. The new name reflects what the program does, rather than how it does it. Also fix a small argument parsing bug. Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se> Signed-off-by: Junio C Hamano <junkio@cox.net> 2005-11-11Make git-repack use git-pack-intersect.Lukas_Sandström1-18/+12 Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se> Signed-off-by: Junio C Hamano <junkio@cox.net> 2005-11-11Add git-pack-intersect to .gitignoreLukas_Sandström1-0/+1 Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se> Signed-off-by: Junio C Hamano <junkio@cox.net>