summaryrefslogtreecommitdiffstats
path: root/git-request-pull.sh
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2006-08-21 09:10:02 +0200
committerJunio C Hamano <junkio@cox.net>2006-08-22 05:24:56 +0200
commitda7560110f91088ee2a664e98f75ff54e0d9e1e1 (patch)
treef2a7f6a19b897ec228d507a91d2f2c46741557e3 /git-request-pull.sh
parentAdd write_or_die(), a helper function (diff)
downloadgit-da7560110f91088ee2a664e98f75ff54e0d9e1e1.tar.xz
git-da7560110f91088ee2a664e98f75ff54e0d9e1e1.zip
Verify we know how to read a pack before trying to using it.
If the pack format were to ever change or be extended in the future there is no assurance that just because the pack file lives in objects/pack and doesn't end in .idx that we can read and decompress its contents properly. If we encounter what we think is a pack file and it isn't or we don't recognize its version then die and suggest to the user that they upgrade to a newer version of GIT which can handle that pack file. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-request-pull.sh')
0 files changed, 0 insertions, 0 deletions