Re: [PATCH 2/3] contrib/subtree/t: Added tests for .gitsubtree support

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

 



Paul Campbell wrote:

> Is there was a better way to verify that the push operation succeeds
> then grepping for a SHA1?

IIRC then when a push fails, it will exit with nonzero status (so the
usual &&-chaining would propagate the error).

Alternatively, one can fetch, ls-remote, or enter the target repo and
use history inspection tools to check that the result is as expected.

Hope that helps,
Jonathan
--
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]