git.fiddlerwoaroof.com
Browse code

bug(docs): fix unpacking example

Ed L authored on 18/11/2020 07:14:53
Showing 1 changed files
... ...
@@ -152,7 +152,9 @@
152 152
     #+BEGIN_SRC sh
153 153
       mkdir tmp
154 154
       mv .git/objects/pack/* tmp
155
-      git unpack-objects < tmp/*.pack
155
+      for pack in tmp/*.pack; do
156
+        git unpack-objects < "$pack";
157
+      done
156 158
     #+END_SRC
157 159
 
158 160
     Or, you can undeltify the packs by, first unpacking the packfile as above and then doing: