[Git][reproducible-builds/diffoscope][master] Increase the minimum length of the output of strings(1) to 8 to avoid...

Chris Lamb gitlab at salsa.debian.org
Wed Jul 8 15:44:56 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
572fc282 by Chris Lamb at 2020-07-08T16:44:09+01:00
Increase the minimum length of the output of strings(1) to 8 to avoid unnecessary diff noise. (Re. reproducible-builds/diffoscope#148)

- - - - -


1 changed file:

- diffoscope/comparators/elf.py


Changes:

=====================================
diffoscope/comparators/elf.py
=====================================
@@ -622,7 +622,7 @@ class ElfContainer(Container):
 class Strings(Command):
     @tool_required("strings")
     def cmdline(self):
-        return ("strings", "--all", self.path)
+        return ("strings", "--all", "--bytes=8", self.path)
 
 
 class ElfFile(File):



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/572fc2827832017ee3044543742da6ed03c2cac2

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/572fc2827832017ee3044543742da6ed03c2cac2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200708/e7e01296/attachment.htm>


More information about the rb-commits mailing list