File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
2+ #
3+ # Run this script _after_ making a proposed merge into a copy of
4+ # the target branch (e.g. "master") to see if it contains unrelated
5+ # merging back from the upstream.
6+ #
27F=` git diff-tree -r --name-only HEAD^ HEAD`
38echo " The topic modifies these paths:"
49echo " $F " | sed -e ' s/^/ /'
510
6- # Documentation/git-cvsexportcommit.txt
7- # git-cvsexportcommit.perl
8- # git-cvsserver.perl
9- B=` git merge-base master HEAD`
10- # 45f75a0167b4a4693f2c6005bf7db231ca91ecc8 (master)
1111_x40=' [0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
1212_x40=" $_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40 "
1313git rev-list --parents master..HEAD^2 |
1414sed -ne " /^$_x40 $_x40 $_x40 /p" |
1515while read merge first second
1616do
1717 echo
18- # first is the previous cvs topic tip, second is what was merged into
18+ # First is the previous cvs topic tip, second is what was merged into
1919 # it. Does the merge have anything to do with adjust the topic to
2020 # updated upstream?
2121 git name-rev " $merge "
2727 echo " $out " ;;
2828 esac
2929done
30-
You can’t perform that action at this time.
0 commit comments