Explorar el Código

fix(lazygit): remove duplicates from date suggestion list

Joe hace 1 año
padre
commit
adb3991fad
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;"