[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vc-got 5509116 018/145: implement vc-got-find-ignore-fi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vc-got 5509116 018/145: implement vc-got-find-ignore-file |
Date: |
Thu, 9 Sep 2021 15:58:25 -0400 (EDT) |
branch: externals/vc-got
commit 55091167c3506eda81107b6315018b82cb8a75eb
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>
implement vc-got-find-ignore-file
This is optional, but with this in place `project-find-file' works as
intended. Also, should we support also .cvsignore?
---
vc-got.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/vc-got.el b/vc-got.el
index ced238f..134d469 100644
--- a/vc-got.el
+++ b/vc-got.el
@@ -394,6 +394,11 @@ DIR-OR-FILE."
(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."
(error "vc got: checkout not implemented"))
- [elpa] externals/vc-got 95a78ec 134/145: missing require and split setq-locals, (continued)
- [elpa] externals/vc-got 95a78ec 134/145: missing require and split setq-locals, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 4b3c0c6 132/145: add Timo as author, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 3ec8a8b 130/145: chores, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 5154c5c 136/145: switch to `got send' for pushing, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 3dcaa71 139/145: improve tag creation buffer, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got adbe5db 143/145: move the copyright to the FSF, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 2a50da6 140/145: push doesn't use git anymore, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 961d35b 142/145: fix find-revision, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got a1679b1 144/145: automatically register the backend and ignore the .got directory, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 8fc127f 145/145: bump version, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 5509116 018/145: implement vc-got-find-ignore-file,
ELPA Syncer <=