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
diff --git a/t/t7702-repack-cyclic-alternate.sh
new file mode 100755
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 majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html