bugidutils - Bugs: bug #46602, mkid --prune=X complains about...


bug #46602: mkid --prune=X complains about nonexistence of X

Submitted by:  Kaz Kylheku <kkylheku>
Submitted on:  Fri 04 Dec 2015 12:57:02 AM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 04 Dec 2015 12:57:02 AM UTC, original submission:

The --prune option is useful for telling mkid not to look into certain places, such as .git directories and whatnot.

I have a list of such exclusions and put them into a script which calls mkid.

Not all to-be-excluded items exist in all directories. But mkid complains about all the --prune items that do not exist.

If I wish that a tool not process object X, the tool should probably not complain that it would like to ignore X, but X doesn't exist!

(If there is a solid rationale for --prune to diagnose, and continue to do so, please consider adding --prune-silent which doesn't.)

Other tools have similar options which don't diagnose nonexistence. I pass the same list of exclusions to ctags (via its similar --exclude) option and it doesn't complain.

GNU tar's --exclude=PATTERN certainly doesn't complain that nothing matches PATTERN. GNU diff's --exlude=PATTERN doesn't complain, either.

Kaz Kylheku <kkylheku>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by kkylheku (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1