bundle: detect if bundle file cannot be created
commit0f5cdf653b8be5b8fad3fb2a3eaecfb9da80d215
authorCsaba Henk <csaba@gluster.com>
Fri, 27 Aug 2010 20:31:47 +0000 (27 20:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Aug 2010 23:46:26 +0000 (27 16:46 -0700)
tree8352d2f05f1786546bd2bec9515e4b792e84ee67
parent64fdc08dac6694d1e754580e7acb82dfa4988bb9
bundle: detect if bundle file cannot be created

bundle command silently died with no sign of failure if it
could not create the bundle file. (Eg.: its path resovles to a directory,
or the parent dir is sticky while file already exists and is owned
by someone else.)

Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bundle.c
t/t5704-bundle.sh