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


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

Submitter:  Kaz Kylheku <kkylheku>
Submitted:  Fri 04 Dec 2015 12:57:02 AM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

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 Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12