795
796
797
798
799
800
801
802
803
804
805
806
807
808
|
** This option overrides the "binary-glob" setting.
**
** Options:
** --binary PATTERN Treat files that match the glob PATTERN as binary
** --branch BRANCH Show diff of all changes on BRANCH
** --brief Show filenames only
** --checkin VERSION Show diff of all changes in VERSION
** --context|-c N Use N lines of context
** --diff-binary BOOL Include binary files when using external commands
** --exec-abs-paths Force absolute path names with external commands.
** --exec-rel-paths Force relative path names with external commands.
** --from|-r VERSION Select VERSION as source for the diff
** --internal|-i Use internal diff logic
** --side-by-side|-y Side-by-side diff
|
>
|
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
|
** This option overrides the "binary-glob" setting.
**
** Options:
** --binary PATTERN Treat files that match the glob PATTERN as binary
** --branch BRANCH Show diff of all changes on BRANCH
** --brief Show filenames only
** --checkin VERSION Show diff of all changes in VERSION
** --command PROG External diff program - overrides "diff-command"
** --context|-c N Use N lines of context
** --diff-binary BOOL Include binary files when using external commands
** --exec-abs-paths Force absolute path names with external commands.
** --exec-rel-paths Force relative path names with external commands.
** --from|-r VERSION Select VERSION as source for the diff
** --internal|-i Use internal diff logic
** --side-by-side|-y Side-by-side diff
|
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
|
db_must_be_within_tree();
}else if( zFrom==0 ){
fossil_fatal("must use --from if --to is present");
}else{
db_find_and_open_repository(0, 0);
}
if( !isInternDiff ){
zDiffCmd = diff_command_external(isGDiff);
}
zBinGlob = diff_get_binary_glob();
fIncludeBinary = diff_include_binary_files();
determine_exec_relative_option(1);
verify_all_options();
if( g.argc>=3 ){
int i;
|
>
|
|
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
|
db_must_be_within_tree();
}else if( zFrom==0 ){
fossil_fatal("must use --from if --to is present");
}else{
db_find_and_open_repository(0, 0);
}
if( !isInternDiff ){
zDiffCmd = find_option("command", 0, 1);
if( zDiffCmd==0 ) zDiffCmd = diff_command_external(isGDiff);
}
zBinGlob = diff_get_binary_glob();
fIncludeBinary = diff_include_binary_files();
determine_exec_relative_option(1);
verify_all_options();
if( g.argc>=3 ){
int i;
|