aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-11-16 22:04:13 -0800
committerJunio C Hamano <gitster@pobox.com>2011-11-16 22:05:21 -0800
commit68be2fea50e7a34c0e5f9fdf6adb9040c8df197f (patch)
treef85e2d46ed7d10a13722934e96baa94f591c93b0 /builtin/commit.c
parentMerge branch 'jc/receive-verify' (diff)
downloadgit-68be2fea50e7a34c0e5f9fdf6adb9040c8df197f.tar.gz
git-68be2fea50e7a34c0e5f9fdf6adb9040c8df197f.zip
receive-pack, fetch-pack: reject bogus pack that records objects twice
When receive-pack & fetch-pack are run and store the pack obtained over the wire to a local repository, they internally run the index-pack command with the --strict option. Make sure that we reject incoming packfile that records objects twice to avoid spreading such a damage. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
redundantLukas_Sandström5-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>