X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fquilt-useremail;fp=tests%2Ftests%2Fquilt-useremail;h=f079395ed5a4d0b76aaaa2bf2bdddb8c00d8dbc6;hb=07a8b1861c8dd294d0f30fb2fdb19228eca67aa9;hp=0000000000000000000000000000000000000000;hpb=bf33c7e32c0f107b83bfdf7d4043f931d9865c7e;p=dgit.git diff --git a/tests/tests/quilt-useremail b/tests/tests/quilt-useremail new file mode 100755 index 00000000..f079395e --- /dev/null +++ b/tests/tests/quilt-useremail @@ -0,0 +1,27 @@ +#!/bin/bash +set -e +. tests/lib + +t-tstunt-parsechangelog +t-archive example 1.0-1 +t-worktree 1.0 +t-git-none + +cd $p + +git checkout quilt-tip-2 + +t-dgit -wgf fetch + +oe=other.email@example.com +on='Hannibal Barca' + +git config --local user.email "$oe" +git config --local user.name "$on" + +t-dgit -wgf --quilt=smash quilt-fixup + +git show | fgrep "$oe" +git show | fgrep "$on" + +t-ok