diff options
Diffstat (limited to 'guix')
-rw-r--r-- | guix/forge/build/git.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/forge/build/git.scm b/guix/forge/build/git.scm index 098be83..bb8773a 100644 --- a/guix/forge/build/git.scm +++ b/guix/forge/build/git.scm @@ -74,7 +74,7 @@ shallow cloned and the .git directory is not included." (list ".")))) (when show-commit? (hline) - (invoke "git" "log" "HEAD~1..HEAD") + (invoke "git" "log" "--max-count" "1") (hline)) (unless deep-clone? (delete-file-recursively ".git"))) |