diff options
author | Minijackson <minijackson@riseup.net> | 2021-09-15 10:55:01 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2021-09-15 10:55:01 +0200 |
commit | 04125b78af4b77b9300834c33fc58155f32f3fad (patch) | |
tree | e861a26a836574f4d7ca5bbb2b79331643cf6bd4 /common | |
parent | 65b9c68cd4dc43e6098e7043bbcaef54139f5666 (diff) | |
download | nixos-config-reborn-04125b78af4b77b9300834c33fc58155f32f3fad.tar.gz nixos-config-reborn-04125b78af4b77b9300834c33fc58155f32f3fad.zip |
git: specify default branch to silence warning
Diffstat (limited to 'common')
-rw-r--r-- | common/commandline/git.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/commandline/git.nix b/common/commandline/git.nix index e3ca37f..165214f 100644 --- a/common/commandline/git.nix +++ b/common/commandline/git.nix | |||
@@ -21,6 +21,8 @@ inputs: | |||
21 | deltaCommand = "${pkgs.gitAndTools.delta}/bin/delta"; | 21 | deltaCommand = "${pkgs.gitAndTools.delta}/bin/delta"; |
22 | in | 22 | in |
23 | { | 23 | { |
24 | init.defaultBranch = "master"; | ||
25 | |||
24 | core = { | 26 | core = { |
25 | whitespace = "trailing-space,space-before-tab"; | 27 | whitespace = "trailing-space,space-before-tab"; |
26 | pager = deltaCommand; | 28 | pager = deltaCommand; |