Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion git-find-branch
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
11 changes: 6 additions & 5 deletions tests/git-clone-related-test/test-git-clone-related.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)
Expand Down