Fossil SCM

Mention the -N and --new-file command-line options on the "diff" command. Ticket [926a1b1639a1ee3739].

drh 2010-11-01 23:45 UTC trunk
Commit bd68e4172d7e6be6ec51727f5d053b3ba031e93b
1 file changed +3
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -427,10 +427,13 @@
427427
**
428428
** The "-i" command-line option forces the use of the internal diff logic
429429
** rather than any external diff program that might be configured using
430430
** the "setting" command. If no external diff program is configured, then
431431
** the "-i" option is a no-op. The "-i" option converts "gdiff" into "diff".
432
+**
433
+** The "-N" or "--new-file" option causes the complete text of added or
434
+** deleted files to be displayed.
432435
*/
433436
void diff_cmd(void){
434437
int isGDiff; /* True for gdiff. False for normal diff */
435438
int isInternDiff; /* True for internal diff */
436439
int hasNFlag; /* True if -N or --new-file flag is used */
437440
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -427,10 +427,13 @@
427 **
428 ** The "-i" command-line option forces the use of the internal diff logic
429 ** rather than any external diff program that might be configured using
430 ** the "setting" command. If no external diff program is configured, then
431 ** the "-i" option is a no-op. The "-i" option converts "gdiff" into "diff".
 
 
 
432 */
433 void diff_cmd(void){
434 int isGDiff; /* True for gdiff. False for normal diff */
435 int isInternDiff; /* True for internal diff */
436 int hasNFlag; /* True if -N or --new-file flag is used */
437
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -427,10 +427,13 @@
427 **
428 ** The "-i" command-line option forces the use of the internal diff logic
429 ** rather than any external diff program that might be configured using
430 ** the "setting" command. If no external diff program is configured, then
431 ** the "-i" option is a no-op. The "-i" option converts "gdiff" into "diff".
432 **
433 ** The "-N" or "--new-file" option causes the complete text of added or
434 ** deleted files to be displayed.
435 */
436 void diff_cmd(void){
437 int isGDiff; /* True for gdiff. False for normal diff */
438 int isInternDiff; /* True for internal diff */
439 int hasNFlag; /* True if -N or --new-file flag is used */
440

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button