git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] push: better error messages
@ 2011-02-28 21:14 Matthieu Moy
  2011-02-28 21:14 ` [PATCH 1/2] push: better error message when push.default = tracking Matthieu Moy
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Matthieu Moy @ 2011-02-28 21:14 UTC (permalink / raw)
  To: git, gitster; +Cc: Matthieu Moy

Since it's likely to become the default in 1.8.0, I've played a bit
with "push.default = tracking". I was very happy to see that the flow

git init bla
git clone bla
git commit
git push

was working like a charm (it required a --all or so the first time),
but the "create a new branch and push it" is still a bit hard to get
for newbies.

[PATCH 1/2] should solve it, by providing a cut-and-paste ready
command to do the push.

While I was there, I also improved a bit other messages which gives
[PATCH 2/2]. I've kept the changes in separate patches, but they may
be squashed once reviewed.

Matthieu Moy (2):
  push: better error message when push.default = tracking
  push: better error messages for detached HEAD and "no destination"

 builtin/push.c |   27 ++++++++++++++++++++-------
 1 files changed, 20 insertions(+), 7 deletions(-)

-- 
1.7.4.1.142.g43604.dirty

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-03-03  1:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-28 21:14 [PATCH 0/2] push: better error messages Matthieu Moy
2011-02-28 21:14 ` [PATCH 1/2] push: better error message when push.default = tracking Matthieu Moy
2011-02-28 21:14 ` [PATCH 2/2] push: better error messages for detached HEAD and "no destination" Matthieu Moy
2011-02-28 22:48   ` Jay Soffian
2011-02-28 23:00     ` Matthieu Moy
2011-02-28 23:29   ` Junio C Hamano
2011-03-01  9:11 ` [PATCH 1/2 v2] push: better error messages when push.default = tracking Matthieu Moy
2011-03-01  9:11   ` [PATCH 2/2 v2] push: better error message when no remote configured Matthieu Moy
2011-03-01 18:34   ` [PATCH 1/2 v2] push: better error messages when push.default = tracking Junio C Hamano
2011-03-02 20:12     ` [PATCH 1/2 v3] " Matthieu Moy
2011-03-02 20:12       ` [PATCH 2/2 v3] push: better error message when no remote configured Matthieu Moy
2011-03-03  1:43       ` [PATCH 1/2 v3] push: better error messages when push.default = tracking Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).