File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 6565 (concat (file-name-as-directory git-repo) cur))
6666 ret))))))))
6767
68- (defun dashboard-insert-project-status- (project-dir update )
69- " Do the actual work for `dashboard-insert-project-status' ."
70- (when update (git-run " remote" " update" ))
71- (dashboard-insert-project-status-heading)
72- (dashboard-insert-project-status-body))
73-
7468(defun dashboard-insert-project-status (project-dir &optional update )
7569 " Return a function which will insert git status for PROJECT-DIR.
7670If UPDATE is non-nil, update the remote first with 'git remote update'."
7771 `(lambda (list-size)
7872 (let ((git-repo , project-dir ))
79- (dashboard-insert-project-status- , project-dir , update ))))
73+ (when , update (git-run " remote" " update" ))
74+ (dashboard-insert-project-status-heading)
75+ (dashboard-insert-project-status-body))))
8076
8177(provide 'dashboard-project-status )
8278; ;; dashboard-project-status.el ends here
You can’t perform that action at this time.
0 commit comments