git.fiddlerwoaroof.com
Browse code

misc: add note about working-around lack of delta decoding

Ed L authored on 15/11/2020 02:35:33
Showing 1 changed files
... ...
@@ -98,3 +98,17 @@
98 98
     commands from the pack file and store them as a [[file:delta.lisp::(defclass delta () ((%repository :initarg :repository :reader repository) (%base :initarg :base :reader base) (%commands :initarg :commands :reader commands)))][delta object]]. When
99 99
     this works adequately, I'll write an interpreter to do the actual
100 100
     merge.
101
+
102
+    A workaround for the moment is to manually unpack the pack files:
103
+
104
+    #+BEGIN_SRC sh
105
+      mkdir tmp
106
+      mv .git/objects/pack/* tmp
107
+      git unpack-obj < tmp/*.pack
108
+    #+END_SRC
109
+
110
+    Or, you can undeltify the packs by, first unpacking the packfile as above and then doing:
111
+
112
+    #+BEGIN_SRC sh
113
+      git repack --window=0
114
+    #+END_SRC