Skip to content

Commit b7c1f2c

Browse files
author
Manuel Stöger
committed
#2020: Fixed no_locations options for diffing
1 parent 08e7777 commit b7c1f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix/src/diff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl Options {
6767
impl Options {
6868
/// Do not keep track of filepaths at all, which will leave all `location` fields empty.
6969
pub fn no_locations(&mut self) -> &mut Self {
70-
self.location = Some(Location::FileName);
70+
self.location = None;
7171
self
7272
}
7373

0 commit comments

Comments
 (0)