GNU bug report logs -
#22577
25.0.50; vc-git-grep fails when searching for `all' files
Previous Next
Reported by: Óscar Fuentes <ofv <at> wanadoo.es>
Date: Sun, 7 Feb 2016 03:18:02 UTC
Severity: normal
Found in version 25.0.50
Done: Óscar Fuentes <ofv <at> wanadoo.es>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Andreas Schwab <schwab <at> suse.de> writes:
> What about file names starting with ".."?
Is there a way to accept them while rejecting the parent directory? If
not, I opt for ignoring those rather than having commands that fail when
used with the default parameters suggested by Emacs.
We could add "..?*" but that doesn't match directories:
oscar <at> qcore:~/dev/emacs/emacs$ ls ..?*
ls: cannot access ..?*: No such file or directory
oscar <at> qcore:~/dev/emacs/emacs$ mkdir ..foo
oscar <at> qcore:~/dev/emacs/emacs$ ls ..?*
oscar <at> qcore:~/dev/emacs/emacs$ rmdir ..foo
oscar <at> qcore:~/dev/emacs/emacs$ touch ..foo
oscar <at> qcore:~/dev/emacs/emacs$ ls ..?*
..foo
This is also puzzling to me:
oscar <at> qcore:~/dev/emacs/emacs$ ls .?
build dbuild old-emacs ses.patch tooltip_pos.diff
build.script emacs pmodes-tests tooltip_pos2.diff
oscar <at> qcore:~/dev/emacs/emacs$ ls ?
ls: cannot access ?: No such file or directory
This bug report was last modified 9 years and 100 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.