Thread (9 messages) flat view 9 messages, 5 authors, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:49

Jonathan Nieder [off-list ref] writes:
Tay Ray Chuan wrote:
quoted
On Sat, May 15, 2010 at 12:17 AM, Jonathan Nieder [off-list ref] wrote:
quoted
quoted
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?
I think you said what I meant to say much more clearly.  Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help