aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-04-18 21:47:22 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-04-18 21:47:22 -0700
commitc778b69983c53cdc057e46ecbe38b288dab3e76d (patch)
tree180cb93c11c66f5b9797d85699e1d2c93a27182e
parentMerge tag 'v3.6.12' (diff)
parentminor help text fixup (diff)
downloadgitolite-gentoo-c778b69983c53cdc057e46ecbe38b288dab3e76d.tar.gz
gitolite-gentoo-c778b69983c53cdc057e46ecbe38b288dab3e76d.tar.bz2
gitolite-gentoo-c778b69983c53cdc057e46ecbe38b288dab3e76d.zip
Merge remote-tracking branch 'upstream/master'gitolite-gentoo-3.6.12.1
-rwxr-xr-xcontrib/commands/ukm2
-rwxr-xr-xsrc/commands/help7
-rwxr-xr-xt/merge-check.t2
-rwxr-xr-xt/partial-copy.t6
4 files changed, 11 insertions, 6 deletions
diff --git a/contrib/commands/ukm b/contrib/commands/ukm
index 3683154..4bb4f3e 100755
--- a/contrib/commands/ukm
+++ b/contrib/commands/ukm
@@ -293,7 +293,7 @@ sub sanitize_pubkeypath {
# This function is only relavant for guest key managers.
# It returns true if the pattern is OK and false otherwise.
sub required_guest_keyid {
- my ($_) = @_;
+ local ($_) = @_;
/$required_guest_pattern/ and ! /$forbidden_guest_pattern/;
}
diff --git a/src/commands/help b/src/commands/help
index cf54084..47a5a16 100755
--- a/src/commands/help
+++ b/src/commands/help
@@ -12,7 +12,12 @@ Usage: ssh git@host help # via ssh
Prints a list of custom commands available at this gitolite installation.
-Each command has its own help, accessed by passing it '-h' again.
+Each command has (or should have!) its own help, accessed by passing it the
+'-h' option; e.g., "gitolite access -h".
+
+NOTE: These commands are found in the commands subdirectory (see the page on
+"core and non-core gitolite" in the documentation). Gitolite also has some
+built-in commands; run just "gitolite", with no arguments, to see those.
=cut
usage() if @ARGV;
diff --git a/t/merge-check.t b/t/merge-check.t
index fdea318..4a50db0 100755
--- a/t/merge-check.t
+++ b/t/merge-check.t
@@ -43,7 +43,7 @@ try "
test-commit bb cc; ok
checkout master; ok; /Switched to branch 'master'/
test-commit dd ee; ok
- git merge new; ok; /Merge made.*recursive/
+ git merge new; ok; /Merge made/
test-commit ff; ok
tag end; ok
";
diff --git a/t/partial-copy.t b/t/partial-copy.t
index 493f0d4..75dfd12 100755
--- a/t/partial-copy.t
+++ b/t/partial-copy.t
@@ -90,20 +90,20 @@ try "
tc u4n1 u4n2
PUSH u4 next; ok
/To .*/foo.git/
- /new branch\\] ca3787119b7e8b9914bc22c939cefc443bc308da -> refs/partial/br-\\d+/
+ /new reference\\] ca3787119b7e8b9914bc22c939cefc443bc308da -> refs/partial/br-\\d+/
/file:///foo-pc/
/52c7716..ca37871 next -> next/
tag u4/nexttag; glt push u4 --tags
/To file:///foo-pc/
/\\[new tag\\] u4/nexttag +-> +u4/nexttag/
- /\\[new branch\\] ca3787119b7e8b9914bc22c939cefc443bc308da -> refs/partial/br-\\d+/
+ /\\[new reference\\] ca3787119b7e8b9914bc22c939cefc443bc308da -> refs/partial/br-\\d+/
checkout master
checkout -b dev/u4/u4master
tc devu4m1 devu4m2
PUSH u4 HEAD; ok
/To .*/foo.git/
- /new branch\\] 228353950557ed1eb13679c1fce4d2b4718a2060 -> refs/partial/br-\\d+/
+ /new reference\\] 228353950557ed1eb13679c1fce4d2b4718a2060 -> refs/partial/br-\\d+/
/file:///foo-pc/
/new branch.* HEAD -> dev/u4/u4master/