diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-10-11 15:25:40 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-10-11 15:25:40 +0200 |
commit | 480cd4eb8237335f8df5052f50a7501360fd9bd9 (patch) | |
tree | 59db3dee213953fe5f647f20d236358a874cac23 /ymir.nix | |
parent | adf83b4a126e8cbc232360b5fd050c6f5bd54379 (diff) | |
download | nixos-480cd4eb8237335f8df5052f50a7501360fd9bd9.tar nixos-480cd4eb8237335f8df5052f50a7501360fd9bd9.tar.gz nixos-480cd4eb8237335f8df5052f50a7501360fd9bd9.tar.bz2 nixos-480cd4eb8237335f8df5052f50a7501360fd9bd9.tar.xz nixos-480cd4eb8237335f8df5052f50a7501360fd9bd9.zip |
ditto
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -906,7 +906,7 @@ in rec { | |||
906 | git diff -z --name-only | \ | 906 | git diff -z --name-only | \ |
907 | while IFS= read -r -d $'\0' change; do changeSet=(''${changeSet} ''${change}); done | 907 | while IFS= read -r -d $'\0' change; do changeSet=(''${changeSet} ''${change}); done |
908 | 908 | ||
909 | [[ ''${changeSet[(i)$(realpath ${2} --relative-to=''${repository})]} -le ''${#changeSet} ]] || exit 0 | 909 | [[ ''${changeSet[(i)$(realpath ''${2} --relative-to=''${repository})]} -le ''${#changeSet} ]] || exit 0 |
910 | 910 | ||
911 | commitMessage=$(printf "%s modified via infinoted" $(realpath ''${2} --relative-to=''${repository})) | 911 | commitMessage=$(printf "%s modified via infinoted" $(realpath ''${2} --relative-to=''${repository})) |
912 | git add ''${2} | 912 | git add ''${2} |