summaryrefslogtreecommitdiff
path: root/pack.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-10-14 23:37:41 -0700
committerJunio C Hamano <junkio@cox.net>2006-10-14 23:38:01 -0700
commit29f049a0c277be72637f74f1f90a89dccd3475bc (patch)
tree92abcbafbd1f73f9b161ddbf1172fcdae06d5c5d /pack.h
parent0a246571d47642dd7b6b796e601b820ca9f0c8c4 (diff)
downloadgit-29f049a0c277be72637f74f1f90a89dccd3475bc.tar.gz
Revert "move pack creation to version 3"
This reverts commit 16854571aae6302f457c5fbee41ac64669b09595. Git as recent as v1.1.6 do not understand version 3 delta. v1.2.0 is Ok and I personally would say it is old enough, but the improvement between version 2 and version 3 delta is not bit enough to justify breaking older clients. We should resurrect this later, but when we do so we shold make it conditional. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'pack.h')
-rw-r--r--pack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.h b/pack.h
index 05557da152..eb07b033ae 100644
--- a/pack.h
+++ b/pack.h
@@ -7,7 +7,7 @@
* Packed object header
*/
#define PACK_SIGNATURE 0x5041434b /* "PACK" */
-#define PACK_VERSION 3
+#define PACK_VERSION 2
#define pack_version_ok(v) ((v) == htonl(2) || (v) == htonl(3))
struct pack_header {
unsigned int hdr_signature;