@san-siva/gitsy 1.0.13 → 1.0.14
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/bin/g-wr +3 -4
- package/bin/utils +2 -0
- package/package.json +1 -1
package/bin/g-wr
CHANGED
|
@@ -240,11 +240,10 @@ main() {
|
|
|
240
240
|
validate_dependencies git figlet lolcat
|
|
241
241
|
print_banner
|
|
242
242
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
local step_number=2
|
|
243
|
+
local step_number=1
|
|
246
244
|
if [ "$stash" = true ]; then
|
|
247
|
-
step_number
|
|
245
|
+
stash_changes $stash $step_number
|
|
246
|
+
step_number=2
|
|
248
247
|
fi
|
|
249
248
|
|
|
250
249
|
if [ -n "$worktree_name" ]; then
|
package/bin/utils
CHANGED
|
@@ -323,6 +323,7 @@ create_worktree() {
|
|
|
323
323
|
fi
|
|
324
324
|
|
|
325
325
|
print_message "${created_worktree_message}"
|
|
326
|
+
copy_to_clipboard "cd ${worktree_path}" "cd ${worktree_path} copied to clipboard."
|
|
326
327
|
return 0
|
|
327
328
|
fi
|
|
328
329
|
|
|
@@ -339,6 +340,7 @@ create_worktree() {
|
|
|
339
340
|
fi
|
|
340
341
|
|
|
341
342
|
print_message "${created_worktree_message}"
|
|
343
|
+
copy_to_clipboard "cd ${worktree_path}" "cd ${worktree_path} copied to clipboard."
|
|
342
344
|
return 0
|
|
343
345
|
}
|
|
344
346
|
|