detect files are binary before extracting the whole file
Bug #390418 reported by
Martin Pool
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
When bzr's going to just show "binary files differ" it doesn't need to extract the whole potentially large file to say so. It just needs to read enough of the start of the file to know that one or the other of them is binary, or (post bug 218128) the rule or configuration that says to treat them as binary.
(See also bug 218128, and bug 71307, slightly related.)
tags: | added: performance |
tags: | added: diff |
tags: | added: check-for-breezy |
To post a comment you must log in.
Or alternatively just read a flag that states the file is considered "binary" and then only look at whether sha1_x == sha1_y