Fossil

Check-in [1aa3188e]
Login

Check-in [1aa3188e]

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

Overview
Comment:Small correction in the usage text for 'fossil git'.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1aa3188e8decc4c2b2b8fa7eb8ad1816a0dfce72acdb91ccde5ec5804d90f6dc
User & Date: danield 2023-01-31 10:07:34
Context
2023-02-01
14:35
Do not export private artifacts to git. ... (check-in: fbd3b583 user: danield tags: trunk)
2023-01-31
10:11
Do not export private artifacts to git. ... (check-in: 40abd839 user: danield tags: git-export-omit-private)
10:07
Small correction in the usage text for 'fossil git'. ... (check-in: 1aa3188e user: danield tags: trunk)
2023-01-27
20:42
Add a link to the /intermap page for Interwiki Map keywords on the setup menu. ... (check-in: bb189a15 user: drh tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/export.c.

1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
**
**         -q|--quiet         No output if there is nothing to report
*/
void gitmirror_command(void){
  char *zCmd;
  int nCmd;
  if( g.argc<3 ){
    usage("export ARGS...");
  }
  zCmd =  g.argv[2];
  nCmd = (int)strlen(zCmd);
  if( nCmd>2 && strncmp(zCmd,"export",nCmd)==0 ){
    gitmirror_export_command();
  }else
  if( nCmd>2 && strncmp(zCmd,"import",nCmd)==0 ){







|







1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
**
**         -q|--quiet         No output if there is nothing to report
*/
void gitmirror_command(void){
  char *zCmd;
  int nCmd;
  if( g.argc<3 ){
    usage("SUBCOMMAND ...");
  }
  zCmd =  g.argv[2];
  nCmd = (int)strlen(zCmd);
  if( nCmd>2 && strncmp(zCmd,"export",nCmd)==0 ){
    gitmirror_export_command();
  }else
  if( nCmd>2 && strncmp(zCmd,"import",nCmd)==0 ){