Re: [PATCH] add ls-remote --get-push-url option

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

 



Ben Boeckel <mathstuf@xxxxxxxxx> writes:

> Not sure if it would be better to make a new variable or to reuse the existing
> one. I'm reusing it currently because it makes it easier to ensure they
> are mutually exclusive.
>
> Please keep me CC'd to the list; I'm not subscribed.
>
> Thanks,
>
> --Ben
>
> Ben Boeckel (1):
>   ls-remote: add --get-push-url option
>
>  Documentation/git-ls-remote.txt |  7 ++++++-
>  builtin/ls-remote.c             | 15 +++++++++++++--
>  2 files changed, 19 insertions(+), 3 deletions(-)

Probably get-url makes (some) sense because ls-remote is a "fetch
that does not actually fetch anything".  But "get-push-url" to
ls-remote makes _no_ sense whatsoever.  ls-remote and fetch do not
have to know or care about push-url; they do not even have to know
there exists a thing called "git push" ;-)

Wouldn't "git push -v -n" or something suit your needs already?
--
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]