commit 3d7ddb22ef25ca02415a2dcfd60ee97d68b1eb60
parent 6f695771f230e6e360aa9dbafbd2c3363bba7a16
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 8 Apr 2024 03:12:57 +0200
users/vincent: update git configuration
- git sha abbrev should be 12
- pretty pring "fixes" in commit messages
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/users/vincent/core/git.nix b/users/vincent/core/git.nix
@@ -76,6 +76,7 @@ in
core = {
fsmonitor = "${pkgs.rs-git-fsmonitor}/bin/rs-git-fsmonitor";
pager = "${pkgs.delta}/bin/delta";
+ abbrev = 12;
# pager = "${pkgs.delta}/bin/delta --syntax-theme GitHub";
# editor = "${pkgs.emacs}/bin/emacsclient -t";
};
@@ -133,6 +134,9 @@ in
pager = {
difftool = true;
};
+ pretty = {
+ fixes = "Fixes: %h (\"%s\")";
+ };
forge = {
remote = "upstream";
};