wtcode 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wtcode-0.1.0/wtcode.egg-info → wtcode-0.1.1}/PKG-INFO +1 -1
- {wtcode-0.1.0 → wtcode-0.1.1}/pyproject.toml +1 -1
- {wtcode-0.1.0 → wtcode-0.1.1}/wtcode/__init__.py +1 -1
- {wtcode-0.1.0 → wtcode-0.1.1}/wtcode/wtcode.sh +5 -2
- {wtcode-0.1.0 → wtcode-0.1.1/wtcode.egg-info}/PKG-INFO +1 -1
- {wtcode-0.1.0 → wtcode-0.1.1}/LICENSE +0 -0
- {wtcode-0.1.0 → wtcode-0.1.1}/README.md +0 -0
- {wtcode-0.1.0 → wtcode-0.1.1}/setup.cfg +0 -0
- {wtcode-0.1.0 → wtcode-0.1.1}/wtcode/__main__.py +0 -0
- {wtcode-0.1.0 → wtcode-0.1.1}/wtcode.egg-info/SOURCES.txt +0 -0
- {wtcode-0.1.0 → wtcode-0.1.1}/wtcode.egg-info/dependency_links.txt +0 -0
- {wtcode-0.1.0 → wtcode-0.1.1}/wtcode.egg-info/entry_points.txt +0 -0
- {wtcode-0.1.0 → wtcode-0.1.1}/wtcode.egg-info/top_level.txt +0 -0
|
@@ -9,7 +9,7 @@ ${WTCODE_DEBUG:+set -x}
|
|
|
9
9
|
|
|
10
10
|
--msg() { echo "wtcode: $*" >&2; }
|
|
11
11
|
|
|
12
|
-
WTCODE_VERSION=0.1.
|
|
12
|
+
WTCODE_VERSION=0.1.1
|
|
13
13
|
--version() { echo "wtcode $WTCODE_VERSION"; }
|
|
14
14
|
--help() {
|
|
15
15
|
cat <<USAGE
|
|
@@ -108,7 +108,10 @@ WTCODE_CMDS_TO_TRY=(
|
|
|
108
108
|
branch_name=${1:?Need a worktree/branch name as first argument}; shift
|
|
109
109
|
fi
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
if [[ -z ${branch_name-} ]]; then
|
|
112
|
+
--msg "no branch selected"
|
|
113
|
+
exit 1
|
|
114
|
+
fi
|
|
112
115
|
|
|
113
116
|
# check if branch name starts with ':' to force new branch creation
|
|
114
117
|
# supports multiple colons (e.g., :::my-branch) to avoid fzf matching
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|