From a044439c65e387605019e00782e6f8edab670460 Mon Sep 17 00:00:00 2001 From: Michael Ernst Date: Mon, 12 Jan 2026 18:23:01 -0800 Subject: [PATCH] Tweak comments --- git-find-branch | 2 +- .../git-clone-related-test/test-git-clone-related.sh | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/git-find-branch b/git-find-branch index d9edcc3..286bddc 100755 --- a/git-find-branch +++ b/git-find-branch @@ -1,6 +1,6 @@ #!/bin/sh -# Usage: git-find-branch REPO_URL BRANCH ... +# Usage: git-find-branch REPO_URL BRANCH... # Prints either the first BRANCH that exists in REPO_URL, # or else prints the default branch name if none of the given branches exists. diff --git a/tests/git-clone-related-test/test-git-clone-related.sh b/tests/git-clone-related-test/test-git-clone-related.sh index c0c9d4d..4025805 100755 --- a/tests/git-clone-related-test/test-git-clone-related.sh +++ b/tests/git-clone-related-test/test-git-clone-related.sh @@ -1,13 +1,13 @@ #!/bin/sh -# Test one invocation of git-clone-related +# Test one invocation of git-clone-related. -# arguments: +# Arguments: # 1: repo from which to run git-clone-related # 2: branch from which to run git-clone-related # 3: git-clone-related arguments -# 4: repo that should be cloned -# 5: branch that should be cloned +# 4: expected repo that should be cloned +# 5: expected branch that should be cloned START_REPO=$1 START_BRANCH=$2 @@ -19,7 +19,8 @@ set -o errexit -o nounset # set -o pipefail # Display commands and their arguments as they are executed. # set -x -# set -v : Display shell input lines as they are read. +# Display shell input lines as they are read. +# set -v USER=${USER:-git-clone-related} PLUME_SCRIPTS=$(cd ../../ && pwd -P)