mirror of
https://github.com/correl/melpa.git
synced 2024-11-24 19:19:52 +00:00
Use --first-parent to include merge commits in git log search for change dates
This commit is contained in:
parent
75d39c590c
commit
b5551d6609
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ Return a cons cell whose `car' is the root and whose `cdr' is the repository."
|
|||
(pb/run-process dir "git" "reset" "--hard"
|
||||
(or commit (concat "origin/" (pb/git-head-branch dir))))
|
||||
(pb/run-process dir "git" "submodule" "update" "--init" "--recursive")
|
||||
(apply 'pb/run-process dir "git" "log" "-n1" "--pretty=format:'\%ci'"
|
||||
(apply 'pb/run-process dir "git" "log" "--first-parent" "-n1" "--pretty=format:'\%ci'"
|
||||
(pb/expand-source-file-list dir config))
|
||||
(pb/find-parse-time
|
||||
"\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\}:[0-9]\\{2\\}\\)"))))
|
||||
|
|
Loading…
Reference in a new issue