diff options
author | Alan Pearce | 2024-05-25 18:55:14 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-26 13:55:53 +0200 |
commit | f4f14b448b115639940c1bf34fda9994ee276a0f (patch) | |
tree | 5d741d0d38df0d191416a13591a2a4e6a8df2e44 | |
parent | f4635bd84b3d120400fc502b63f6f5d8792657b3 (diff) | |
download | nixfiles-f4f14b448b115639940c1bf34fda9994ee276a0f.tar.lz nixfiles-f4f14b448b115639940c1bf34fda9994ee276a0f.tar.zst nixfiles-f4f14b448b115639940c1bf34fda9994ee276a0f.zip |
git: be quiet when I accidentally `git add` nothing
-rw-r--r-- | user/settings/git.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user/settings/git.nix b/user/settings/git.nix index 18368864..4726120c 100644 --- a/user/settings/git.nix +++ b/user/settings/git.nix @@ -17,6 +17,9 @@ init = { defaultBranch = "main"; }; + advice = { + addEmptyPathspec = false; + }; ghq = { root = "${config.home.homeDirectory}/projects"; user = "alanpearce"; |