Check-in [5f6b495230]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:5f6b4952302ffded5b852343030f959392ecb6ac
Date: 2012-04-19 15:18:01
User: drh
Comment:Merge documentation updates from msw-docco into trunk.
Tags And Properties
Changes

Changes to src/add.c

194 ** the "--dotfiles" option to the command-line. 194 ** the "--dotfiles" option to the command-line. 195 ** 195 ** 196 ** The --ignore option is a comma-separate list of glob patterns for files 196 ** The --ignore option is a comma-separate list of glob patterns for files 197 ** to be excluded. Example: '*.o,*.obj,*.exe' If the --ignore option 197 ** to be excluded. Example: '*.o,*.obj,*.exe' If the --ignore option 198 ** does not appear on the command line then the "ignore-glob" setting is 198 ** does not appear on the command line then the "ignore-glob" setting is 199 ** used. 199 ** used. 200 ** 200 ** > 201 ** The --case-sensitive option determines whether or not filenames should > 202 ** be treated case sensitive or not. If the option is not given, the default > 203 ** depends on the global setting, or the operating system default, if not set. > 204 ** 201 ** Options: 205 ** Options: 202 ** 206 ** > 207 ** --case-sensitive <BOOL> override case-sensitive setting 203 ** --dotfiles include files beginning with a dot (".") | 208 ** --dotfiles include files beginning with a dot (".") 204 ** --ignore <CSG> ignore files matching patterns from the | 209 ** --ignore <CSG> ignore files matching patterns from the 205 ** comma separated list of glob patterns. | 210 ** comma separated list of glob patterns. 206 ** 211 ** 207 ** See also: addremove, rm 212 ** See also: addremove, rm 208 */ 213 */ 209 void add_cmd(void){ 214 void add_cmd(void){ 210 int i; /* Loop counter */ 215 int i; /* Loop counter */ 211 int vid; /* Currently checked out version */ 216 int vid; /* Currently checked out version */ 212 int nRoot; /* Full path characters in g.zLocalRoot */ 217 int nRoot; /* Full path characters in g.zLocalRoot */ ................................................................................................................................................................................ 406 ** 411 ** 407 ** The command does not "commit". You must run the "commit" separately 412 ** The command does not "commit". You must run the "commit" separately 408 ** as a separate step. 413 ** as a separate step. 409 ** 414 ** 410 ** Files and directories whose names begin with "." are ignored unless 415 ** Files and directories whose names begin with "." are ignored unless 411 ** the --dotfiles option is used. 416 ** the --dotfiles option is used. 412 ** 417 ** 413 ** The --ignore option overrides the "ignore-glob" setting. See | 418 ** The --ignore option overrides the "ignore-glob" setting, as does the > 419 ** --case-sensitive option with the "case-sensitive" setting. See the 414 ** documentation on the "settings" command for further information. 420 ** documentation on the "settings" command for further information. 415 ** 421 ** 416 ** The --test option shows what would happen without actually doing anything. 422 ** The --test option shows what would happen without actually doing anything. 417 ** 423 ** 418 ** This command can be used to track third party software. 424 ** This command can be used to track third party software. 419 ** 425 ** 420 ** Options: 426 ** Options: > 427 ** --case-sensitive <BOOL> override case-sensitive setting 421 ** --dotfiles include files beginning with a dot (".") | 428 ** --dotfiles include files beginning with a dot (".") 422 ** --ignore <CSG> ignore files matching patterns from the | 429 ** --ignore <CSG> ignore files matching patterns from the 423 ** comma separated list of glob patterns. | 430 ** comma separated list of glob patterns. 424 ** --test If given, show what would be done without doing so. < > 431 ** --test If given, display instead of run actions 425 ** 432 ** 426 ** See also: add, rm 433 ** See also: add, rm 427 */ 434 */ 428 void addremove_cmd(void){ 435 void addremove_cmd(void){ 429 Blob path; 436 Blob path; 430 const char *zIgnoreFlag = find_option("ignore",0,1); 437 const char *zIgnoreFlag = find_option("ignore",0,1); 431 int allFlag = find_option("dotfiles",0,0)!=0; 438 int allFlag = find_option("dotfiles",0,0)!=0;