commit - 09d593791051febee8552638ed57d57fe026bdb0
commit + 2552a6c780bf04d324a38193d49329d42e8f75e1
blob - 718b233d29e3f9e0212631668ebf78db5bf313c6
blob + ae83a7e40b403938543ebcc5cee8c56af0832618
--- vc-got.el
+++ vc-got.el
;; - root DONE
;; - ignore NOT IMPLEMENTED
;; - ignore-completion-table NOT IMPLEMENTED
+;; - find-ignore-file DONE
;; - previous-revision DONE
;; - next-revision DONE
;; - log-edit-mode NOT IMPLEMENTED
(with-current-buffer buffer
(vc-got-with-worktree file
(vc-got--cat rev obj-id)))))
-
-(defun vc-got-find-ignore-file (file)
- "Return the gitignore file that controls FILE."
- (expand-file-name ".gitignore"
- (vc-got-root file)))
(defun vc-got-checkout (_file &optional _rev)
"Checkout revision REV of FILE.
;; Miscellaneous
+(defun vc-got-find-ignore-file (file)
+ "Return the gitignore file that controls FILE."
+ (expand-file-name ".gitignore"
+ (vc-got-root file)))
+
(defun vc-got-previous-revision (file rev)
"Return the revision number that precedes REV for FILE, or nil if no such revision exists."
(with-temp-buffer