Fossil SCM
Mention the -N and --new-file command-line options on the "diff" command. Ticket [926a1b1639a1ee3739].
Commit
bd68e4172d7e6be6ec51727f5d053b3ba031e93b
Parent
f4033ec09ee6bb2…
1 file changed
+3
+3
| --- src/diffcmd.c | ||
| +++ src/diffcmd.c | ||
| @@ -427,10 +427,13 @@ | ||
| 427 | 427 | ** |
| 428 | 428 | ** The "-i" command-line option forces the use of the internal diff logic |
| 429 | 429 | ** rather than any external diff program that might be configured using |
| 430 | 430 | ** the "setting" command. If no external diff program is configured, then |
| 431 | 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. | |
| 432 | 435 | */ |
| 433 | 436 | void diff_cmd(void){ |
| 434 | 437 | int isGDiff; /* True for gdiff. False for normal diff */ |
| 435 | 438 | int isInternDiff; /* True for internal diff */ |
| 436 | 439 | int hasNFlag; /* True if -N or --new-file flag is used */ |
| 437 | 440 |
| --- 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 |