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 65
65
(concat (file-name-as-directory git-repo) cur))
66
66
ret))))))))
67
67
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
-
74
68
(defun dashboard-insert-project-status (project-dir &optional update )
75
69
" Return a function which will insert git status for PROJECT-DIR.
76
70
If UPDATE is non-nil, update the remote first with 'git remote update'."
77
71
`(lambda (list-size)
78
72
(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))))
80
76
81
77
(provide 'dashboard-project-status )
82
78
; ;; dashboard-project-status.el ends here
You can’t perform that action at this time.
0 commit comments