Re: git-push error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 20, 2012 at 02:43:04PM -0500, Neal Kreitzinger wrote:

> Does git push always return an error to "if [ $? -ne 0 ]" when the
> push fails?  Is this sufficient to verify your git-push worked?

It should (and if it doesn't, it's a bug). But do note that even a
failed push may have been partially successful (e.g., pushed some refs
but failed on others).

-Peff
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]