# [PATCH] document --index-version for index-pack and pack-objects

1 messages from 2007-04-20 to 2007-04-20. Participants: Nicolas Pitre.
Thread: https://gitlist.dev/t/7745

## Nicolas Pitre, 2007-04-20 02:16

Subject: [PATCH] document --index-version for index-pack and pack-objects
Message-ID: <alpine.LFD.0.98.0704192214010.4504@xanadu.home>
URL: https://gitlist.dev/e/alpine.LFD.0.98.0704192214010.4504%40xanadu.home

```
Signed-off-by: Nicolas Pitre <nico@cam.org>
---

diff --git a/Documentation/git-index-pack.txt b/Documentation/git-index-pack.txt
index 2229ee8..b7a49b9 100644
--- a/Documentation/git-index-pack.txt
+++ b/Documentation/git-index-pack.txt
@@ -68,6 +68,11 @@ OPTIONS
 	message can later be searched for within all .keep files to
 	locate any which have outlived their usefulness.
 
+--index-version=<version>[,<offset>]::
+	This is intended to be used by the test suite only. It allows
+	to force the version for the generated pack index, and to force
+	64-bit index entries on objects located above the given offset.
+
 
 Note
 ----
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index fdc6f97..d9e11c6 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -138,6 +138,11 @@ base-name::
 	length, this option typically shrinks the resulting
 	packfile by 3-5 per-cent.
 
+--index-version=<version>[,<offset>]::
+	This is intended to be used by the test suite only. It allows
+	to force the version for the generated pack index, and to force
+	64-bit index entries on objects located above the given offset.
+
 
 Author
 ------

```
