3 # Copyright (c) 2006 Yann Dirson
12 # don't need this repo, but better not drop it, see t1100
15 # Need a repo to clone
19 'Setup and clone tree, and setup changes' \
21 printf 'a\nb\n' > file && git add file && git commit -m .
24 (cd bar && stg new p1 -m p1
25 printf 'c\n' >> file && stg refresh
30 'Port those patches to orig tree' \
32 GIT_DIR=../bar/.git git-format-patch --stdout bases/master..HEAD |
38 'Pull those patches applied upstream' \
44 'Check that all went well' \
45 "diff -u foo/file bar/file