summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ee0a4af)
raw | patch | inline | side by side (parent: ee0a4af)
author | Michael Haggerty <mhagger@alum.mit.edu> | |
Thu, 14 Jan 2010 05:54:52 +0000 (06:54 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 14 Jan 2010 08:27:56 +0000 (00:27 -0800) |
This change has no practical effect but makes the code easier to
follow.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
follow.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh | patch | blob | history |
index 1499a67bba6bf9372d38acf890151bd802773953..122ba314d6c96ce200731bc6898156db5b061ec8 100755 (executable)
make_squash_message $squash_style $sha1 > "$MSG"
failed=f
author_script=$(get_author_ident_from_commit HEAD)
+ echo "$author_script" > "$AUTHOR_SCRIPT"
+ eval "$author_script"
output git reset --soft HEAD^
pick_one -n $sha1 || failed=t
case "$(peek_next_command)" in
rm -f "$GIT_DIR"/MERGE_MSG || exit
;;
esac
- echo "$author_script" > "$AUTHOR_SCRIPT"
if test $failed = f
then
# This is like --amend, but with a different message
- eval "$author_script"
GIT_AUTHOR_NAME="$GIT_AUTHOR_NAME" \
GIT_AUTHOR_EMAIL="$GIT_AUTHOR_EMAIL" \
GIT_AUTHOR_DATE="$GIT_AUTHOR_DATE" \