mirror of
https://github.com/correl/melpa.git
synced 2024-11-28 11:09:55 +00:00
When updating git repos, also grab and update submodules
See #1213, re. yasnippet
This commit is contained in:
parent
b564228de0
commit
8f337ec5ff
1 changed files with 1 additions and 0 deletions
|
@ -375,6 +375,7 @@ Return a cons cell whose `car' is the root and whose `cdr' is the repository."
|
||||||
(pb/run-process nil "git" "clone" repo dir)))
|
(pb/run-process nil "git" "clone" repo dir)))
|
||||||
(pb/run-process dir "git" "reset" "--hard"
|
(pb/run-process dir "git" "reset" "--hard"
|
||||||
(or commit (concat "origin/" (pb/git-head-branch dir))))
|
(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" "-n1" "--pretty=format:'\%ci'"
|
||||||
(pb/expand-source-file-list dir config))
|
(pb/expand-source-file-list dir config))
|
||||||
(pb/find-parse-time
|
(pb/find-parse-time
|
||||||
|
|
Loading…
Reference in a new issue