summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 50dffd4)
raw | patch | inline | side by side (parent: 50dffd4)
author | John Tapsell <johnflux@gmail.com> | |
Thu, 19 Feb 2009 07:36:35 +0000 (07:36 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 4 Mar 2009 08:56:52 +0000 (00:56 -0800) |
Tell the user that a backup (original) already exists, and how to solve
this problem (with -f option)
Signed-off-by: John Tapsell <johnflux@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
this problem (with -f option)
Signed-off-by: John Tapsell <johnflux@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh | patch | blob | history |
diff --git a/git-filter-branch.sh b/git-filter-branch.sh
index 9a09ba138244b1665de78e94ce12fb8fdb878758..20f6f5175070f62ab74eda4839c637afe1004d49 100755 (executable)
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
do
case "$force,$name" in
,$orig_namespace*)
- die "Namespace $orig_namespace not empty"
+ die "Cannot create a new backup.
+A previous backup already exists in $orig_namespace
+Force overwriting the backup with -f"
;;
t,$orig_namespace*)
git update-ref -d "$name" $sha1