about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-10-09 14:06:24 +0200
committeraszlig <aszlig@nix.build>2022-10-09 14:08:06 +0200
commit7ac9d5228f6a27d5795c03d5f6b9041ef130e464 (patch)
tree74f0d031d63199ad768fdcbcd7f0f3b54dfa9477
parenta35898d59ae7f7e920e51ff9e765a1b8fb989920 (diff)
profiles/workstation/git: Sort branches by date
When you have a lot of branches it's sometimes tedious to find out the
ones you've been working on recently. Sorting the branches by committer
date by default should make it more obvious.

Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r--modules/user/aszlig/profiles/workstation/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix
index aff89628..c6b86413 100644
--- a/modules/user/aszlig/profiles/workstation/default.nix
+++ b/modules/user/aszlig/profiles/workstation/default.nix
@@ -92,6 +92,7 @@ in {
       rerere.autoupdate = true;
       commit.gpgsign = true;
       pull.rebase = false;
+      branch.sort = "-committerdate";
 
       merge.tool = "vimdiff3";
       merge.conflictstyle = "diff3";