Skip to content

Commit

Permalink
Squashed 'gitstatus/' changes from 063ed450..0127fd26
Browse files Browse the repository at this point in the history
0127fd26 set user.name in the test git repo
00564e95 Merge pull request #135 from Aloxaf/Aloxaf-patch-1
6003278c build: no gpg sign

git-subtree-dir: gitstatus
git-subtree-split: 0127fd26a0d102cc5d5b2b10e511fa99138d78e3
  • Loading branch information
romkatv committed May 22, 2020
1 parent 8cfe934 commit ee44f9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,10 @@ app="$outdir"/usrbin/"$appname"
command strip "$app".tmp
command mkdir -- "$workdir"/repo
command git -C "$workdir"/repo init --
command git -C "$workdir"/repo init
command git -C "$workdir"/repo config user.name "Your Name"
command git -C "$workdir"/repo config user.email "[email protected]"
command git -C "$workdir"/repo commit --allow-empty --allow-empty-message -m ''
command git -C "$workdir"/repo commit --allow-empty --allow-empty-message --no-gpg-sign -m ''
resp="$(printf "hello\037$workdir/repo\036" | "$app".tmp)"
[ -n "$resp" -a -z "${resp##hello*1*$workdir/repo*master*}" ]
Expand Down

0 comments on commit ee44f9e

Please sign in to comment.