summaryrefslogtreecommitdiff
path: root/tests/tests/quilt-useremail
blob: f079395ed5a4d0b76aaaa2bf2bdddb8c00d8dbc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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