Teach format-patch to handle output directory relative to cwd
commit9800a754f931d05c2d26da9c1b188ae2c2b80eb4
authorJunio C Hamano <gitster@pobox.com>
Mon, 12 Jan 2009 23:18:02 +0000 (12 15:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Jan 2009 01:00:54 +0000 (12 17:00 -0800)
tree67ba9b98e0ac767ee92f8ae6022b0d5556ae44df
parent141201d124f3663a98e0f362c1af7f5f7b58dabb
Teach format-patch to handle output directory relative to cwd

Without any explicit -o parameter, we correctly avoided putting the
resulting patch output to the toplevel.  We should do the same when
the user gave a relative pathname to be consistent with this case.

Noticed by Cesar Eduardo Barros.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c
t/t4014-format-patch.sh