[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#640131: [checks/patch-systems] claims patch modifying debian/* while actually the, patch doesn't



Hey,

We use diffstat -p1 -l, which seems to produce an unwanted result:

$ diffstat -p1 -l the.patch
config.guess
config.sub
configure
debian/patches/remove-use-of-embedded-tinyxml.patch
src/Makefile.in
src/tinyxml
src/tinyxpath/Makefile.in
src/tinyxpath/node_set.cpp
src/tinyxpath/xpath_processor.cpp
src/tinyxpath/xpath_stream.h
src/tinyxpath/xpath_stream.h~
src/zen.cpp
viewer/Makefile.in

lsdiff(1) (from patchutils) seems to do what we want with more reliable
results.

$ lsdiff --strip=1 the.patch
configure
src/Makefile.in
src/tinyxpath/Makefile.in
src/tinyxpath/node_set.cpp
src/tinyxpath/xpath_processor.cpp
src/tinyxpath/xpath_stream.h
src/zen.cpp
viewer/Makefile.in


~Niels




Reply to: