diff options
| author | Michael Forney <mforney@mforney.org> | 2016-06-06 20:36:39 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-06-06 20:38:54 -0700 |
| commit | dac3b279e368a0ae06c1fc6f800b6f55e396bb32 (patch) | |
| tree | 3b37875d7df45719a2b50271e7a09d1733b81098 /scripts | |
| parent | 8711f622cc62ec92fb4a34809a989de03a967ffa (diff) | |
Fix special permission handling
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/hash.rc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/hash.rc b/scripts/hash.rc index e33b5682..5f894a6b 100644 --- a/scripts/hash.rc +++ b/scripts/hash.rc @@ -12,10 +12,12 @@ fn checkstatus {} hash=`{ switch($mode) { - case 120??? + case 12???? printf %s $1 | git -C $repo hash-object -w --stdin - case 100??? + case 10???? git -C $repo hash-object -w --stdin <$1 + case * + status=1 } } checkstatus |
