projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.22.3
[platform/upstream/git.git]
/
t
/
t1007-hash-object.sh
diff --git
a/t/t1007-hash-object.sh
b/t/t1007-hash-object.sh
index
a377530
..
7099d33
100755
(executable)
--- a/
t/t1007-hash-object.sh
+++ b/
t/t1007-hash-object.sh
@@
-199,10
+199,6
@@
test_expect_success 'too-short tree' '
test_i18ngrep "too-short tree object" err
'
-hex2oct() {
- perl -ne 'printf "\\%03o", hex for /../g'
-}
-
test_expect_success 'malformed mode in tree' '
hex_sha1=$(echo foo | git hash-object --stdin -w) &&
bin_sha1=$(echo $hex_sha1 | hex2oct) &&