Skip to content

in version 0.4.4 lsdiff and filterdiff are counting binary changes #157

@sergiomb2

Description

@sergiomb2

in version 0.4.4 lsdiff and filterdiff are counting binary changes
for example

diff --git a/src/WEB-INF/lib/postgresql-jdbc.jar b/src/WEB-INF/lib/postgresql-jdbc.jar    
new file mode 100644    
index 0000000..02bc736    
Binary files /dev/null and b/src/WEB-INF/lib/postgresql-jdbc.jar differ    
diff --git a/src/font/Anton/Anton-Regular.ttf b/src/font/Anton/Anton-Regular.ttf    
new file mode 100644    
index 0000000..c7d7455    

cat example.patch|lsdiff -N

File #0 a/src/WEB-INF/lib/postgresql-jdbc.jar
File #0 a/src/font/Anton/Anton-Regular.ttf

the count begins in 1

also filterdiff shows all binary changes even if we ask just to show file #3 ( cat example.patch| filterdiff -F3)

diff --git a/src/WEB-INF/lib/postgresql-jdbc.jar b/src/WEB-INF/lib/postgresql-jdbc.jar
new file mode 100644
index 0000000..02bc736
Binary files /dev/null and b/src/WEB-INF/lib/postgresql-jdbc.jar differ
diff --git a/src/font/Anton/Anton-Regular.ttf b/src/font/Anton/Anton-Regular.ttf
new file mode 100644
index 0000000..c7d7455

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions