this post was submitted on 12 Oct 2024
147 points (99.3% liked)

Open Source

30733 readers
375 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

And why?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 days ago (1 children)

This is actually why I prefer using pijul. I don't want to commit my secrets to a git repo and nix will refuse to build because I'm pulling in files that aren't tracked. Simple solution is to not make the flake directory a git repo and it won't complain. That's my solution at least. I also prefer using git (and therefore pijul) via cli rather than as a text editor integration so my experience differs.

[–] [email protected] 2 points 2 days ago* (last edited 2 days ago) (1 children)

I use git primarily via cli also, the text editor integration (with helix) highlights information such as what lines haven't been committed and makes it easier to access other files in the repo, the fish integration tells me if there's files that haven't been committed or commits that haven't been pushed without having to run git status

[–] [email protected] 2 points 2 days ago

I do use helix but haven't taken advantage of the git integration. Maybe I'm unaware of its power. For fish, I defined my own fish_prompt function with an indicator if there are uncommitted changes. It's just running git status under the hood. I have a TODO in that function to run a pijul diff in the directory if git status returns nothing...