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
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

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

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code