File tree 2 files changed +2
-3
lines changed
gitoxide-core/src/repository
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,6 @@ pub fn file(
169
169
let algorithm = match outcome. operation {
170
170
Operation :: InternalDiff { algorithm } => algorithm,
171
171
Operation :: ExternalCommand { .. } => {
172
- // `unreachable!` is also used in [`Platform::lines()`](gix::object::blob::diff::Platform::lines()).
173
172
unreachable ! ( "We disabled that" )
174
173
}
175
174
Operation :: SourceOrDestinationIsBinary => {
Original file line number Diff line number Diff line change @@ -516,10 +516,10 @@ pub mod diff {
516
516
} ,
517
517
/// Diff two versions of a file.
518
518
File {
519
- /// A rev-spec representing the 'before' or old tree.
519
+ /// A rev-spec representing the 'before' or old state of the file, like '@~100:file'
520
520
#[ clap( value_parser = crate :: shared:: AsBString ) ]
521
521
old_revspec : BString ,
522
- /// A rev-spec representing the 'after' or new tree.
522
+ /// A rev-spec representing the 'after' or new state of the file, like ':file'
523
523
#[ clap( value_parser = crate :: shared:: AsBString ) ]
524
524
new_revspec : BString ,
525
525
} ,
You can’t perform that action at this time.
0 commit comments