Re: [PATCH v2] ls-remote: print URL when no repo is specified

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

 



Tay Ray Chuan wrote:
> On Sat, May 15, 2010 at 12:17 AM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:

>> I think I see what you are saying, and for scripts, that really would
>> be the most useful thing.  Then the script could use something like
>>
>>  if test -z "$remote"
>>  then
>>        remote=$(git branch --get-remote --current)
>>  fi
>>  git ls-remote "$remote"
>
> Just curious - when did git-branch learn "--get-remote"? Or "--current"?

It didn’t.  I was just saying that it should (or we should provide some
commands to that effect).  What do you think?

Maybe later today...
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]