gitbash 1.8.1 → 1.8.2
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.
- package/commands/switch.sh +1 -1
- package/package.json +1 -1
package/commands/switch.sh
CHANGED
|
@@ -114,7 +114,7 @@ EOF
|
|
|
114
114
|
# Ensure match_count is numeric
|
|
115
115
|
[[ -z "$match_count" ]] && match_count=0
|
|
116
116
|
|
|
117
|
-
if [[ "$match_count"
|
|
117
|
+
if [[ "$match_count" == "1" ]]; then
|
|
118
118
|
# Single match - skip fzf
|
|
119
119
|
selected_branch="$matching_branches"
|
|
120
120
|
print_info "Single match found, switching directly..."
|