Thread (10 messages) flat view 10 messages, 3 authors, 2016-06-15

Re: [PATCH] pack-objects: Allow missing base objects when creating thin packs

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:45:08

On Tue, 12 Aug 2008, Shawn O. Pearce wrote:
 Now with a test! :-)
 
[...]
+# Clone patch_clone indirectly by cloning base and fetching.
+#
+test_expect_success \
+    'indirectly clone patch_clone' \
+    '(mkdir user_clone &&
+      cd user_clone &&
+      git init &&
+      git pull ../.git &&
+      test $(git rev-parse HEAD) = $B
+
+      git pull ../patch_clone/.git &&
+      test $(git rev-parse HEAD) = $C
+     )
+    '
What if the first test command fails?  Won't its result be ignored?


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help