mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-29 06:40:08 +00:00
Squashed 'gitstatus/' changes from 063ed450..0127fd26
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
This commit is contained in:
parent
8cfe934f15
commit
ee44f9e112
1 changed files with 3 additions and 2 deletions
5
build
5
build
|
@ -267,9 +267,10 @@ app="$outdir"/usrbin/"$appname"
|
||||||
command strip "$app".tmp
|
command strip "$app".tmp
|
||||||
|
|
||||||
command mkdir -- "$workdir"/repo
|
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 "you@example.com"
|
command git -C "$workdir"/repo config user.email "you@example.com"
|
||||||
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)"
|
resp="$(printf "hello\037$workdir/repo\036" | "$app".tmp)"
|
||||||
[ -n "$resp" -a -z "${resp##hello*1*$workdir/repo*master*}" ]
|
[ -n "$resp" -a -z "${resp##hello*1*$workdir/repo*master*}" ]
|
||||||
|
|
Loading…
Reference in a new issue