Skip to content

Commit 414c78c

Browse files
committed
Merge branch 'maint'
* maint: t1402: work around shell quoting issue on NetBSD remote-hg: Fix biridectionality -> bidirectionality typos
2 parents 69637e5 + 283b365 commit 414c78c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

contrib/remote-helpers/git-remote-hg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import urllib
3131
# hg:
3232
# Emulate hg-git.
3333
# Only hg bookmarks are exported as git branches.
34-
# Commits are modified to preserve hg information and allow biridectionality.
34+
# Commits are modified to preserve hg information and allow bidirectionality.
3535
#
3636

3737
NAME_RE = re.compile('^([^<>]+)')

contrib/remote-helpers/test-hg-bidi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# https://bitbucket.org/durin42/hg-git/src
77
#
88

9-
test_description='Test biridectionality of remote-hg'
9+
test_description='Test bidirectionality of remote-hg'
1010

1111
. ./test-lib.sh
1212

t/t1402-check-ref-format.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ valid_ref() {
1111
prereq=$1
1212
shift
1313
esac
14-
test_expect_success $prereq "ref name '$1' is valid${2:+ with options $2}" "
14+
desc="ref name '$1' is valid${2:+ with options $2}"
15+
test_expect_success $prereq "$desc" "
1516
git check-ref-format $2 '$1'
1617
"
1718
}
@@ -22,7 +23,8 @@ invalid_ref() {
2223
prereq=$1
2324
shift
2425
esac
25-
test_expect_success $prereq "ref name '$1' is invalid${2:+ with options $2}" "
26+
desc="ref name '$1' is invalid${2:+ with options $2}"
27+
test_expect_success $prereq "$desc" "
2628
test_must_fail git check-ref-format $2 '$1'
2729
"
2830
}

0 commit comments

Comments
 (0)