Fossil SCM
Use double-quotes instead of single-quotes for the argument to "git export" in the "fossil git export" command, for windows compatibility.
Commit
be7c1bde92c8caae92fd5e5a4c928a06c0e59554fea14cce34d116d777efd0ae
Parent
baecb63d9b904ef…
1 file changed
+1
-1
+1
-1
| --- src/export.c | ||
| +++ src/export.c | ||
| @@ -1286,11 +1286,11 @@ | ||
| 1286 | 1286 | if( rc ) fossil_fatal("cannot create directory \"%s\"", zMirror); |
| 1287 | 1287 | |
| 1288 | 1288 | /* Make sure GIT has been initialized */ |
| 1289 | 1289 | z = mprintf("%s/.git", zMirror); |
| 1290 | 1290 | if( !file_isdir(z, ExtFILE) ){ |
| 1291 | - zCmd = mprintf("git init '%s'",zMirror); | |
| 1291 | + zCmd = mprintf("git init \"%s\"",zMirror); | |
| 1292 | 1292 | gitmirror_message(VERB_NORMAL, "%s\n", zCmd); |
| 1293 | 1293 | rc = fossil_system(zCmd); |
| 1294 | 1294 | if( rc ){ |
| 1295 | 1295 | fossil_fatal("cannot initialize the git repository using: \"%s\"", zCmd); |
| 1296 | 1296 | } |
| 1297 | 1297 |
| --- src/export.c | |
| +++ src/export.c | |
| @@ -1286,11 +1286,11 @@ | |
| 1286 | if( rc ) fossil_fatal("cannot create directory \"%s\"", zMirror); |
| 1287 | |
| 1288 | /* Make sure GIT has been initialized */ |
| 1289 | z = mprintf("%s/.git", zMirror); |
| 1290 | if( !file_isdir(z, ExtFILE) ){ |
| 1291 | zCmd = mprintf("git init '%s'",zMirror); |
| 1292 | gitmirror_message(VERB_NORMAL, "%s\n", zCmd); |
| 1293 | rc = fossil_system(zCmd); |
| 1294 | if( rc ){ |
| 1295 | fossil_fatal("cannot initialize the git repository using: \"%s\"", zCmd); |
| 1296 | } |
| 1297 |
| --- src/export.c | |
| +++ src/export.c | |
| @@ -1286,11 +1286,11 @@ | |
| 1286 | if( rc ) fossil_fatal("cannot create directory \"%s\"", zMirror); |
| 1287 | |
| 1288 | /* Make sure GIT has been initialized */ |
| 1289 | z = mprintf("%s/.git", zMirror); |
| 1290 | if( !file_isdir(z, ExtFILE) ){ |
| 1291 | zCmd = mprintf("git init \"%s\"",zMirror); |
| 1292 | gitmirror_message(VERB_NORMAL, "%s\n", zCmd); |
| 1293 | rc = fossil_system(zCmd); |
| 1294 | if( rc ){ |
| 1295 | fossil_fatal("cannot initialize the git repository using: \"%s\"", zCmd); |
| 1296 | } |
| 1297 |