New answers tagged vc
0
votes
Determine if a directory is .gitignored with vc
I'm afraid there is no such API in vc-mode or magit, but with little elisp you can implement all by yourself:
(defun my/is-git-ignored (file)
(interactive "fFile:")
(not (string-empty-p
...
Top 50 recent answers are included
Related Tags
vc × 48git × 15
vc-mode × 9
version-control × 6
magit × 5
diff × 4
mode-line × 3
svn × 3
init-file × 2
tramp × 2
hooks × 2
load-path × 2
diff-mode × 2
spacemacs × 1
python × 1
debugging × 1
start-up × 1
window-splitting × 1
whitespace × 1
remote × 1
directories × 1
ibuffer × 1
symbolic-links × 1
virtualenv × 1
smerge × 1