summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 71786f5)
raw | patch | inline | side by side (parent: 71786f5)
author | Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> | |
Sun, 6 Feb 2011 18:43:43 +0000 (13:43 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 10 Feb 2011 22:08:08 +0000 (14:08 -0800) |
Remove the check for clean work tree from git-rebase--interactive.sh and
rely on the check in git-rebase.sh.
Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
rely on the check in git-rebase.sh.
Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh | patch | blob | history | |
git-rebase.sh | patch | blob | history |
index fbe12a64ec746401d5e398a476045d675fa828db..1ba98a2c673ca7a1624dc492fa89087279272516 100755 (executable)
git var GIT_COMMITTER_IDENT >/dev/null ||
die "You need to set your committer info first"
-require_clean_work_tree "rebase" "Please commit or stash them."
-
run_pre_rebase_hook "$upstream_arg" "$@"
comment_for_reflog start
diff --git a/git-rebase.sh b/git-rebase.sh
index 0f5f5fb206e74d996eb096aea7833708bdccb71c..265f01df27700103cda8c4aa20e3a2c0d8c601d5 100755 (executable)
--- a/git-rebase.sh
+++ b/git-rebase.sh
esac
orig_head=$branch
-test "$type" = interactive && run_interactive_rebase "$@"
-
require_clean_work_tree "rebase" "Please commit or stash them."
+test "$type" = interactive && run_interactive_rebase "$@"
+
# Now we are rebasing commits $upstream..$branch (or with --root,
# everything leading up to $branch) on top of $onto