Skip to content

Commit b74eb6b

Browse files
committed
Merge branch 'jr/document-commit-and-ref-map' into main
Signed-off-by: Elijah Newren <[email protected]>
2 parents 1e0c3ab + f867bb6 commit b74eb6b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

Documentation/git-filter-repo.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,38 @@ Miscellaneous options
343343
--quiet::
344344
Pass --quiet to other git commands called.
345345

346+
OUTPUT
347+
------
348+
349+
Every time filter-repo is run, files are created in the `.git/filter-repo/`
350+
directory. These files overwritten unconditionally on every run.
351+
352+
Commit map
353+
~~~~~~~~~~
354+
355+
The `.git/filter-repo/commit-map` file contains a mapping of how all
356+
commits were (or were not) changed.
357+
358+
* A header is the first line with the text "old" and "new"
359+
* Commit mappings are in no particular order
360+
* All commits in range of the rewrite will be listed, even commits
361+
that are unchanged (e.g. because the commit pre-dated when the
362+
large file(s) were introduced to the repo).
363+
* An all-zeros hash, or null SHA, represents a non-existant object.
364+
When in the "new" column, this means the commit was removed
365+
entirely.
366+
367+
Reference map
368+
~~~~~~~~~~~~~
369+
370+
The `.git/filter-repo/ref-map` file contains a mapping of which local
371+
references were changed.
372+
373+
* A header is the first line with the text "old" and "new"
374+
* Reference mappings are in no particular order
375+
* An all-zeros hash, or null SHA, represents a non-existant object.
376+
When in the "new" column, this means the ref was removed entirely.
377+
346378
[[FRESHCLONE]]
347379
FRESH CLONE SAFETY CHECK AND --FORCE
348380
------------------------------------

0 commit comments

Comments
 (0)