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:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned 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 Files:
   
   
Comment:
   

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)
  •  

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

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3