Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch stash_mk Excluding Merge-Ins
This is equivalent to a diff from ae73c07be0 to 4e0274bbc3
2011-02-17
| ||
13:43 | Print the SSH command that is issued for ssh: access, scrubbed of any password content. Remove redundant -e and -T options from the ssh command. check-in: f63ff9fc68 user: drh tags: trunk | |
08:15 | Enable a “stash make” subcommand as an alias for “stash snapshot” Leaf check-in: 4e0274bbc3 user: BM tags: stash_mk | |
00:05 | Merge in Brad Harder's "stash ls" command. check-in: ae73c07be0 user: drh tags: trunk | |
2011-02-16
| ||
23:47 | Update to the latest pre-release SQLite version (as part of the SQLite testing process). Update the makefiles to use SQLITE_ENABLE_STAT2. check-in: c616cef3f7 user: drh tags: trunk | |
22:55 | merge trunk Closed-Leaf check-in: 0eaf7528b1 user: bharder tags: bch | |
Changes to src/stash.c.
345 345 ** 346 346 ** fossil stash drop ?STASHID? ?--all? 347 347 ** 348 348 ** Forget everything about STASHID. Forget the whole stash if the 349 349 ** --all flag is used. Individual drops are undoable but --all is not. 350 350 ** 351 351 ** fossil stash snapshot ?-m COMMENT? ?FILES...? 352 +** fossil stash make ?-m COMMENT? ?FILES...? 352 353 ** 353 354 ** Save the current changes in the working tress as a new stash 354 355 ** but, unlike "save", do not revert those changes. 355 356 ** 356 357 ** fossil stash diff ?STASHID? 357 358 ** fossil stash gdiff ?STASHID? 358 359 ** ................................................................................ 394 395 g.argv = newArgv; 395 396 g.argc = nFile+2; 396 397 if( nFile==0 ) return; 397 398 } 398 399 g.argv[1] = "revert"; 399 400 revert_cmd(); 400 401 }else 401 - if( memcmp(zCmd, "snapshot", nCmd)==0 ){ 402 + if( memcmp(zCmd, "snapshot", nCmd)==0 || memcmp(zCmd, "make", nCmd)==0 ){ 402 403 stash_create(); 403 404 }else 404 405 if( memcmp(zCmd, "list", nCmd)==0 || memcmp(zCmd, "ls", nCmd)==0 ){ 405 406 Stmt q; 406 407 int n = 0; 407 408 verify_all_options(); 408 409 db_prepare(&q,