summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2010-03-12 18:04:33 +0100
committerJunio C Hamano <gitster@pobox.com>2010-03-12 21:55:40 -0800
commiteb2151bb8938a8e2af86e3ed34243af7b1c95786 (patch)
tree3662a91fb03bd6c76d6ff1caa3409eeacf72f18d /git-rebase.sh
parent6956f858f6237d426fa422949033e3c558104802 (diff)
downloadgit-eb2151bb8938a8e2af86e3ed34243af7b1c95786.tar.gz
rebase: support automatic notes copying
Luckily, all the support already happens to be there. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-rebase.sh')
-rwxr-xr-xgit-rebase.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index 417a1a95cd..3a26321faa 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -154,6 +154,7 @@ move_to_original_branch () {
finish_rb_merge () {
move_to_original_branch
+ git notes copy --for-rewrite=rebase < "$dotest"/rewritten
if test -x "$GIT_DIR"/hooks/post-rewrite &&
test -s "$dotest"/rewritten; then
"$GIT_DIR"/hooks/post-rewrite rebase < "$dotest"/rewritten