help reproduce fast-forward in rebase
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- May 20, 2009, 08:13 UTC
- Message-ID
- <fcaeb9bf0905200113s43eb5693l24a1f8848bafabd2@mail.gmail.com>
Hi,
I'm rewriting rebase in C and do not quite understand this code inside git-rebase.sh
# If the $onto is a proper descendant of the tip of the branch, then # we just fast forwarded. if test "$mb" = "$branch" then echo >&2 "Fast-forwarded $branch_name to $onto_name." move_to_original_branch exit 0 fi
Anyone has an example how to make "git rebase" execute that code?
-- Duy