From: John Tapsell <johnflux@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH 4/6] Improve error message for git-filter-branch
Date: Thu, 19 Feb 2009 14:19:42 +0000 [thread overview]
Message-ID: <43d8ce650902190619u149b4619k3f9e08bc1e5869f8@mail.gmail.com> (raw)
In-Reply-To: <200902190736.35364.johnflux@gmail.com>
2009/2/19 John Tapsell <johnflux@gmail.com>:
> Tell the user that a backup (original) already exists, and how to solve
> this problem (with -f option)
"Oh, and also all are:
Signed-off-by: John Tapsell <johnflux@gmail.com>"
> ---
> git-filter-branch.sh | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/git-filter-branch.sh b/git-filter-branch.sh
> index 27b57b8..1ca45e2 100755
> --- a/git-filter-branch.sh
> +++ b/git-filter-branch.sh
> @@ -226,7 +226,8 @@ while read sha1 type name
> do
> case "$force,$name" in
> ,$orig_namespace*)
> - die "Namespace $orig_namespace not empty"
> + die "Cannot backup - a previous backup already exists in $orig_namespace\n" \
> + "Force overwriting the backup with -f"
> ;;
> t,$orig_namespace*)
> git update-ref -d "$name" $sha1
> --
> 1.6.2.rc1.3.g7d31b.dirty
>
>
>
next prev parent reply other threads:[~2009-02-19 14:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-19 7:36 [PATCH 4/6] Improve error message for git-filter-branch John Tapsell
2009-02-19 8:44 ` Sverre Rabbelier
2009-02-19 14:19 ` John Tapsell [this message]
2009-02-19 15:03 ` Johannes Schindelin
2009-02-19 15:13 ` Sverre Rabbelier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43d8ce650902190619u149b4619k3f9e08bc1e5869f8@mail.gmail.com \
--to=johnflux@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).