Re: [PATCH 3/4] git-push: make git push --porcelain print "Done"

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

 



Hi,

On Sat, Feb 27, 2010 at 12:52 PM, Larry D'Anna <larry@xxxxxxxxxxxxxx> wrote:
> The script calling git push --porcelain --dry-run can see clearly from the
> output if an update was rejected.  However, it will probably need to distinguish
> this condition from the push failing for other reasons, such as the remote not
> being reachable.
>
> This patch modifies git push --porcelain to print "Done" after the rest of its
> output unless any errors have occurred.  For the purpose of the "Done" line,
> knowing a ref will be rejected in a --dry-run does not count as an error.
> Actual rejections in non --dry-run pushes do count as errors.
>
> Signed-off-by: Larry D'Anna <larry@xxxxxxxxxxxxxx>

Acked-by: Tay Ray Chuan <rctay89@xxxxxxxxx>

-- 
Cheers,
Ray Chuan
--
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]