Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Help text improvements. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | touch-command |
| Files: | files | file ages | folders |
| SHA3-256: |
c5521b64290ff9803665d6730263ebce |
| User & Date: | stephan 2019-06-13 08:20:28.456 |
Context
|
2019-06-13
| ||
| 08:58 | Add the --setmtime option to the "checkout" and "open" commands. Add a new "touch" command that does nothing but run --setmtime on all named files. check-in: a7e86f5b18 user: drh tags: trunk | |
| 08:20 | Help text improvements. Closed-Leaf check-in: c5521b6429 user: stephan tags: touch-command | |
| 08:13 | Help text typo. check-in: 85e3340b37 user: stephan tags: touch-command | |
Changes
Changes to src/file.c.
| ︙ | ︙ | |||
1803 1804 1805 1806 1807 1808 1809 | /* ** COMMAND: touch* ** ** Usage: %fossil touch ?OPTIONS? ** | | | | | | | | | | 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 |
/*
** COMMAND: touch*
**
** Usage: %fossil touch ?OPTIONS?
**
** For each file in the current checkout matching one of the provided
** list of glob patterns, or all files if no globs are provided, sets
** the file's mtime to the time of the last checkin which modified
** that file.
**
** This command gets its name from the conventional Unix "touch"
** command.
**
** Options:
** -g GLOBLIST Comma-separated list of glob patterns. Default
** is to touch all SCM-controlled files.
** -G GLOBFILE Similar to -g but reads its globs from a
** fossil-conventional glob list file.
** -v|-verbose Outputs information about its globs and each
** file it touches.
** -n|--dry-run Outputs which files would require touching,
** but does not touch them.
**
** Only one of -g or -G may be used.
**
*/
void touch_cmd(){
const char * zGlobList; /* -g List of glob patterns */
const char * zGlobFile; /* -G File of glob patterns */
|
| ︙ | ︙ |