6 source "$REG_DIR/scaffold"
10 function fixup_time_info
13 touch -a -m -t "$TOUCH_DATE" ".git/patches/master/$1"
19 cmd guilt new
"empty$1"
20 fixup_time_info
"empty$1"
23 function nonempty_patch
25 if [ "$1" = -2 ]; then
26 msg
="Another commit message."
28 msg
="A commit message."
31 cmd guilt new
-f -s -m "$msg" "nonempty$1"
32 fixup_time_info
"nonempty$1"
35 for using_diffstat
in true false
; do
36 cmd git config guilt.diffstat
$using_diffstat
37 for patcha
in empty nonempty
; do
38 for patchb
in empty nonempty
; do
40 if [ $patcha = $patchb ]; then
48 echo "%% $patcha + $patchb (diffstat=$using_diffstat)"
49 ${patcha}_patch
$suffixa
50 ${patchb}_patch
$suffixb
52 cmd guilt
fold $patchb$suffixb
53 fixup_time_info
$patcha$suffixa
56 cmd guilt delete
-f $patcha$suffixa