[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1014273: ITP: pastaignore -- makes gitignores easier



Hi,

It's not clear to me what this does that makes it more useful than other
more-general-purpose commands that we already have packaged, such as
find or (for simpler usage) fdfind (from the fd-find package).

For instance, the example in your readme of:

  pastaignore ".*\.o" not "\.\/demo\/important.*\.o"

can (unless I'm missing something) be done with fdfind thus:

  fdfind -E '^demo/important*' ".o$"

BTW does pastaignore take the current .gitignore into account, or does
it just put out all filenames including the already ignored ones?  I
only ask becuase fdfind does use .gitignores (optionally) so will only
list files that are not already ignored, which seems like a useful
feature in such a program.

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY


Reply to: