Bladeren bron

fix(lazygit): remove duplicates from date suggestion list

Joe 1 jaar geleden
bovenliggende
commit
adb3991fad
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      .config/lazygit/config.yml

+ 1 - 1
.config/lazygit/config.yml

@@ -118,7 +118,7 @@ customCommands:
         key: "InitialValue"
         command: |
           bash -c "date \"+%Y-%m-%d %H:%M:%S %z\";
-          git log -7 --pretty=format:%ad --date=iso;
+          git log --pretty=format:%ad --date=iso | uniq | head -7;
           echo;
           echo 2005-04-07 15:13:13 -0700;
           echo 0000-00-00 00:00:00 +0000;"