Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/wt b/wt 2index 60999f2..5687822 100755 3--- a/wt 4+++ b/wt 5@@ -27,7 +27,6 @@ help_message() { 6 echo -e "\twt: go to the main worktree" 7 echo -e "\twt <worktree-name>: search for worktree names and change to that directory." 8 echo -e "\twt names: list out only the git worktree names." 9- echo -e "\twt update: update to the latest release of worktree switcher." 10 echo -e "\twt version: show the CLI version." 11 echo -e "\twt init <shell>: print the init script for <shell>." 12 echo -e "\twt help: shows this help message." 13@@ -163,9 +162,6 @@ case "${args[0]}" in 14 names) 15 worktree_list_names 16 ;; 17-update) 18- update 19- ;; 20 help) 21 help_message 22 ;; 23@@ -176,7 +172,6 @@ init) 24 init 25 ;; 26 *) 27- auto_check_update 28 directory=$(git worktree list --porcelain 2> /dev/null | sed -n '/'"${arg:-.}"'/{s/^worktree\s*//p;q}') 29 ;; 30 esac