[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vc-got 2552a6c 104/145: mark find-ignore-file as done a
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vc-got 2552a6c 104/145: mark find-ignore-file as done and move it to the right place |
Date: |
Thu, 9 Sep 2021 15:58:43 -0400 (EDT) |
branch: externals/vc-got
commit 2552a6c780bf04d324a38193d49329d42e8f75e1
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>
mark find-ignore-file as done and move it to the right place
vc.el doesn't document find-ignore-file, but it's used in the default
`ignore' and `ignore-completion-table' functions.
---
vc-got.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/vc-got.el b/vc-got.el
index 718b233..ae83a7e 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -97,6 +97,7 @@
;; - 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
@@ -588,11 +589,6 @@ FILES is nil, consider all the files in DIR."
(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.
If REV is t, checkout from the head."
@@ -838,6 +834,11 @@ true, NAME should create a new branch otherwise it will
pop-up a
;; 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
- [elpa] externals/vc-got dec54a7 088/145: improve vc-got-{push, pull}, (continued)
- [elpa] externals/vc-got dec54a7 088/145: improve vc-got-{push, pull}, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 424f515 100/145: don't need annotate-current-time; split the sections, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got ad36649 092/145: due piccoli errori di battitura corretti, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 6a973a7 106/145: simplify vc-got-root, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got e7747ce 109/145: use log-edit-extract-headers instead of the ugly workaround, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 26362bf 110/145: improve error message reporting for vc-got-checkin, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 5212464 115/145: there is no need to require cl-seq, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 83559c7 108/145: add a TODO for the files handling in vc-got-diff, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 186da17 126/145: add a short description under commentary, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 1b2afa9 121/145: rework the vc-dir handling and remove the ugly hack, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 2552a6c 104/145: mark find-ignore-file as done and move it to the right place,
ELPA Syncer <=
- [elpa] externals/vc-got 26b39de 135/145: remove debug macroexpand, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 84beb0d 129/145: add docstring for vc-got-update-on-retrieve-tag, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got a1839dc 131/145: don't include the common commit in log-outgoing, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 74b0000 138/145: install a custom process filter for `got send', ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 3efc759 141/145: cleanup, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got f457868 024/145: typo, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 06d4d37 031/145: add Makefile, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got ddc59a0 057/145: remove extra parens from vc-got-unregister and fix pcase matchall, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got f8a9db5 060/145: fix vc-got-repository-url for checkout of non-bare repos, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 9e01941 078/145: improve vc-dir presentation & document vc-got-stage in README, ELPA Syncer, 2021/09/09