summaryrefslogtreecommitdiff
path: root/t/t9129-git-svn-i18n-commitencoding.sh
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2019-12-04 14:03:24 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-04 14:25:05 -0800
commit3699d69df0345309ba16b9c7fb43fd86a7595f58 (patch)
tree68614dbc8f792250d5e2be842fd11e9a10db4263 /t/t9129-git-svn-i18n-commitencoding.sh
parentt7700: replace egrep with grep (diff)
downloadtgif-3699d69df0345309ba16b9c7fb43fd86a7595f58.tar.xz
t7700: make references to SHA-1 generic
Make the test more hash-agnostic by renaming variables from "sha1" to some variation of "oid" or "packid". Also, replace the regex, `[0-9a-f]\{40\}` with `$OID_REGEX`. A better name for "incrpackid" (incremental pack-id) might have been just "packid". However, later in the test suite, we have other uses of "packid". Although the scopes of these variables don't conflict, a future developer may think that commit_and_pack() and test_has_duplicate_object() are semantically related somehow since they share the same variable name. Give them distinct names so that it's clear these uses are unrelated. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9129-git-svn-i18n-commitencoding.sh')
0 files changed, 0 insertions, 0 deletions