From f4f14b448b115639940c1bf34fda9994ee276a0f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 25 May 2024 18:55:14 +0200 Subject: git: be quiet when I accidentally `git add` nothing --- user/settings/git.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'user/settings') 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"; -- cgit 1.4.1