git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-rebase: suggest to use git-add instead of git-update-index
@ 2007-06-02 17:59 Jonas Fonseca
  2007-06-02 19:07 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Jonas Fonseca @ 2007-06-02 17:59 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

The command is part of the main porcelain making git-add more
appropriate.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---
 git-rebase.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

 I don't know if this is good or not, maybe it is a matter of taste, but
 as a new git user I prefer to use git add.

diff --git a/git-rebase.sh b/git-rebase.sh
index 61770b5..2aa3a01 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -55,7 +55,7 @@ continue_merge () {
 	if test -n "$unmerged"
 	then
 		echo "You still have unmerged paths in your index"
-		echo "did you forget update-index?"
+		echo "did you forget to use git add?"
 		die "$RESOLVEMSG"
 	fi
 
@@ -126,7 +126,7 @@ do
 	--continue)
 		git-diff-files --quiet || {
 			echo "You must edit all merge conflicts and then"
-			echo "mark them as resolved using git update-index"
+			echo "mark them as resolved using git add"
 			exit 1
 		}
 		if test -d "$dotest"
-- 
1.5.2.816.gc5560-dirty

-- 
Jonas Fonseca

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

* Re: [PATCH] git-rebase: suggest to use git-add instead of git-update-index
  2007-06-02 17:59 [PATCH] git-rebase: suggest to use git-add instead of git-update-index Jonas Fonseca
@ 2007-06-02 19:07 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2007-06-02 19:07 UTC (permalink / raw)
  To: Jonas Fonseca; +Cc: git

Jonas Fonseca <fonseca@diku.dk> writes:

> The command is part of the main porcelain making git-add more
> appropriate.
>
> Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
> ---
>  git-rebase.sh |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
>  I don't know if this is good or not, maybe it is a matter of taste, but
>  as a new git user I prefer to use git add.

I like it.  Thanks.

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

end of thread, other threads:[~2007-06-02 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-02 17:59 [PATCH] git-rebase: suggest to use git-add instead of git-update-index Jonas Fonseca
2007-06-02 19:07 ` 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).