Re: [PATCH] rebase: return non-zero error code if format-patch fails

2015-07-06 Thread Clemens Buchacher
On Fri, Jul 03, 2015 at 10:52:32AM -0700, Junio C Hamano wrote: Cc: Andrew Wong andrew.k...@gmail.com Signed-off-by: Clemens Buchacher clemens.buchac...@intel.com Reviewed-by: Jorge Nunes jorge.nu...@intel.com Where was this review made? I may have missed a recent discussion, and that

Re: [PATCH] rebase: return non-zero error code if format-patch fails

2015-07-06 Thread Junio C Hamano
Clemens Buchacher clemens.buchac...@intel.com writes: On Fri, Jul 03, 2015 at 10:52:32AM -0700, Junio C Hamano wrote: Cc: Andrew Wong andrew.k...@gmail.com Signed-off-by: Clemens Buchacher clemens.buchac...@intel.com Reviewed-by: Jorge Nunes jorge.nu...@intel.com Where was this review

Re: [PATCH] rebase: return non-zero error code if format-patch fails

2015-07-03 Thread Junio C Hamano
Clemens Buchacher clemens.buchac...@intel.com writes: Since e481af06 (rebase: Handle cases where format-patch fails) we notice if format-patch fails and return immediately from git-rebase--am. We save the return value with ret=$?, but then we return $?, which is usually zero in this case.

[PATCH] rebase: return non-zero error code if format-patch fails

2015-07-02 Thread Clemens Buchacher
Since e481af06 (rebase: Handle cases where format-patch fails) we notice if format-patch fails and return immediately from git-rebase--am. We save the return value with ret=$?, but then we return $?, which is usually zero in this case. Fix this by returning $ret instead. Cc: Andrew Wong