diff_command. (trunk r8130)
svn path=/main/branches/2.1.2/; revision=8135
rm ${rm_opts} "${file}"
return 255
;;
- 2) ( echo "Showing differences between ${ofile} and ${mfile}"
- diff_command "${ofile}" "${mfile}" ) | ${pager}
+ 2) if [ "${using_editor}" == 0 ]; then
+ (
+ echo "Showing differences between ${ofile} and ${mfile}"
+ diff_command "${ofile}" "${mfile}"
+ ) | ${pager}
+ else
+ echo "Beginning of differences between ${ofile} and ${mfile}"
+ diff_command "${ofile}" "${mfile}"
+ echo "End of differences between ${ofile} and ${mfile}"
+ fi
continue
;;
3) break