Menu

#2 [Patch] [Feature] skip prefix directory

open
nobody
None
5
2015-11-26
2009-11-09
No

zipdiff works perfectly when the two zip files have the exact same path tree. If you compare different version of software distributions, however, it is very likely that the root folder contains the version name or date.

The attached patch adds the options --skipprefixes1 and --skipprefixes2 which allows the user to sets the number of leading directories to ignore. This works similar to -p on the unix patch command.

This patch is fully compatible with command line tools, ant skripts and classes using jardiff. Only classes that extend DifferenceCalculator might need to be adjusted.

Discussion

  • Hendrik Brummermann

    skip_prefixes.patch

     
  • Raveendran Kumaravelu

    Hi, could you pls advise, how to use this apply this patch on a linux env.?

    Thanks in advance

     
  • Raveendran Kumaravelu

    ignore me, believe this feature is part of latest zip diff

     
  • Raveendran Kumaravelu

    could you cofirm if this feature is part of zipdiff 4.0 pls?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.