-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-worktree-switcher: init at 0.2.4 #355484
Conversation
ffa0a9f
to
51cfaf7
Compare
I think that all everything should now work as expected. I'll look into doing tests as that's something I am not familiar with. |
Awesome! I'm willing to co-maintain the package, if you'd like. |
I'll gladly add you if you're in the maintainers file. |
I'll add myself and open a PR to your fork. |
I didn't find you in the maintainers file. EDIT: The comment appeared right before I sent this one XD. I'll be looking forward to your PR. |
I just added this package and module to my NixOS config. I had to make a modification to the module though: diff --git a/modules/nixos/git-worktree-switcher.nix b/modules/nixos/git-worktree-switcher.nix
index f1462ab..490c3a2 100644
--- a/modules/nixos/git-worktree-switcher.nix
+++ b/modules/nixos/git-worktree-switcher.nix
@@ -2,6 +2,7 @@
config,
pkgs,
lib,
+ ...
}:
let or I'd get error: function 'anonymous lambda' called with unexpected argument 'outputs'
at /nix/store/qc8rd1yhqd06yjfcnpigkfpnfgmyz2dy-source/modules/nixos/git-worktree-switcher.nix:1:1:
1| {
| ^
2| config, So it seems like the missing Is the no I'll be looking through other modules and adding it back if I see |
Whoops, forgot to format the maintainers section in the package file. |
I'll take care of it. I'll also add back the |
Thanks.
I'll test it on my config as well and report any problems other than this one. |
Please make sure your commit messages follow the guidelines. |
8fceaad
to
ca7c8e1
Compare
3d30c8d
to
24c1a26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
The major thing that doesn't look right to me is the fish config part. I've suggested some changes that should make it work. Could you please tests them :)
e3502a2
to
51fc61b
Compare
51fc61b
to
c9e223e
Compare
c9e223e
to
8d862fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jiriks74 FYI, I just released v0.2.4.
8d862fc
to
7875c53
Compare
Thanks for the notice @mateusauler. I've simplified the patch to removing only the update calls, not the functions themselves (less potential breakages in the future) and updated the package to |
[`git worktree` documentation](https://git-scm.com/docs/git-worktree) [`git-worktree-switcher` repository](https://github.com/mateusauler/git-worktree-switcher) From the project's description: > Switch between git worktrees with speed. It's a wrapper script around `git worktree` making some tasks, like switching between worktrees, easier. > [!Note] > `git worktree` is a little known feature and adding QoL things can help it's adoption as it's a considerable upgrade against the `git stash` workflow.
7875c53
to
e25f4a1
Compare
This module sets up shells so that they work with [git-worktree-switcher](https://github.com/mateusauler/git-worktree-switcher)
e25f4a1
to
3318aa5
Compare
@mateusauler You can make a pr and add yourself as a mainteiner now. |
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.