author | Junio C Hamano <junkio@cox.net> | |
Sat, 20 Aug 2005 09:58:42 +0000 (02:58 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 24 Aug 2005 23:50:51 +0000 (16:50 -0700) | ||
commit | d9f3be7e2e4c9b402bbe6ee6e2b39b2ee89132cf | |
tree | d934f14ce5b8abe53432a9fa8ca90d78d4c9da9d | tree | snapshot |
parent | e0bfc81e05e57679916ab070c8fb2525f24771d4 | commit | diff |
[PATCH] Infamous 'octopus merge'
This script uses the list of heads and their origin multi-head "git
fetch" left in the $GIT_DIR/FETCH_HEAD file, and makes an octopus
merge on top of the current HEAD using them.
The implementation tries to be strict for the sake of safety. It
insists that your working tree is clean (no local changes) and matches
the HEAD, and when any of the merged heads does not automerge, the
whole process is aborted and tries to rewind your working tree is to
the original state.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This script uses the list of heads and their origin multi-head "git
fetch" left in the $GIT_DIR/FETCH_HEAD file, and makes an octopus
merge on top of the current HEAD using them.
The implementation tries to be strict for the sake of safety. It
insists that your working tree is clean (no local changes) and matches
the HEAD, and when any of the merged heads does not automerge, the
whole process is aborted and tries to rewind your working tree is to
the original state.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
git-octopus-script | [new file with mode: 0755] | blob |