Re: [PATCH] push/pull: adjust missing upstream help text to changed interface

2012-11-07 Thread Jeff King
On Wed, Nov 07, 2012 at 09:22:38AM +0100, Michael J Gruber wrote:

> Junio C Hamano venit, vidit, dixit 06.11.2012 15:45:
> > 
> > 
> > Michael J Gruber  wrote:
> > 
> >> Yes, I'm in low hanging fruits mood.
> >>
> >> Signed-off-by: Michael J Gruber 
> > 
> > It is called tying loose ends, and is very important. Very much appreciated.
> 
> ;)
> 
> By the way: The gotcha with the signed-off-by after the note is due to
> my old format-patch-notes being tripped up by the recent restructuring;
> your version in next get's it right. I've dumped my old branch, and I
> hope the maintainer in chief will shuffle around the s-o-b where it belongs.

Yes, will do. Thanks.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] push/pull: adjust missing upstream help text to changed interface

2012-11-07 Thread Michael J Gruber
Junio C Hamano venit, vidit, dixit 06.11.2012 15:45:
> 
> 
> Michael J Gruber  wrote:
> 
>> Yes, I'm in low hanging fruits mood.
>>
>> Signed-off-by: Michael J Gruber 
> 
> It is called tying loose ends, and is very important. Very much appreciated.

;)

By the way: The gotcha with the signed-off-by after the note is due to
my old format-patch-notes being tripped up by the recent restructuring;
your version in next get's it right. I've dumped my old branch, and I
hope the maintainer in chief will shuffle around the s-o-b where it belongs.

Michael
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] push/pull: adjust missing upstream help text to changed interface

2012-11-06 Thread Junio C Hamano


Michael J Gruber  wrote:

>Yes, I'm in low hanging fruits mood.
>
>Signed-off-by: Michael J Gruber 

It is called tying loose ends, and is very important. Very much appreciated.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] push/pull: adjust missing upstream help text to changed interface

2012-11-06 Thread Michael J Gruber
In case of a missing upstream, the git-parse-remote script suggests:

If you wish to set tracking information for this branch you can do so
with:

git branch --set-upstream nsiv2 origin/

But --set-upstream is deprectated. Change the suggestion to:

git branch --set-upstream-to=origin/ nsiv2

Reported-by: Jeroen van der Ham 
---
Yes, I'm in low hanging fruits mood.

Signed-off-by: Michael J Gruber 
---
 git-parse-remote.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 484b2e6..0e87e09 100644
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
@@ -80,7 +80,7 @@ See git-${cmd}(1) for details
 
 If you wish to set tracking information for this branch you can do so with:
 
-git branch --set-upstream ${branch_name#refs/heads/} $remote/
+git branch --set-upstream-to=$remote/ ${branch_name#refs/heads/}
 "
fi
exit 1
-- 
1.8.0.226.gba44ac5

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html