On 15.07.2014 21:26, Junio C Hamano wrote:
+ strbuf_addstr(&objdirbuf, absolute_path(get_object_directory()));
+ normalize_path_copy(objdirbuf.buf, objdirbuf.buf);
This is somewhat a strange usage of a strbuf.
There might be a more elegant way, but I tried to mimic the local coding
style and simply copied how the alternate paths were normalized. Let me
know if you want this re-rolled without strbuf, otherwise I'll leave it
as-is.
diff --git a/t/t7702-repack-cyclic-alternate.sh b/t/t7702-repack-cyclic-alternate.sh
new file mode 100755
index 0000000..8341d46
--- /dev/null
+++ b/t/t7702-repack-cyclic-alternate.sh
Do we really have to waste a new test file only for this test?
Absolutely not. I'll add it to 7700, which seems appropriate.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html