Fossil SCM
Correct two broken links in the 'Fossil vs. Git' document.
Commit
f8baa04bd2ffe092f56a3139aadb3d73f17271c76904431ada1cd7c9403d2a12
Parent
081194bb5e0f6a5…
2 files changed
+5
-1
+3
-2
+5
-1
| --- src/xfer.c | ||
| +++ src/xfer.c | ||
| @@ -354,11 +354,14 @@ | ||
| 354 | 354 | }else{ |
| 355 | 355 | nullContent = 1; |
| 356 | 356 | } |
| 357 | 357 | |
| 358 | 358 | /* The isWriter flag must be true in order to land the new file */ |
| 359 | - if( !isWriter ) goto end_accept_unversioned_file; | |
| 359 | + if( !isWriter ){ | |
| 360 | + blob_appendf(&pXfer->err, "Write permissions for unversioned files missing"); | |
| 361 | + goto end_accept_unversioned_file; | |
| 362 | + } | |
| 360 | 363 | |
| 361 | 364 | /* Make sure we have a valid g.rcvid marker */ |
| 362 | 365 | content_rcvid_init(0); |
| 363 | 366 | |
| 364 | 367 | /* Check to see if current content really should be overwritten. Ideally, |
| @@ -1307,10 +1310,11 @@ | ||
| 1307 | 1310 | if( blob_eq(&xfer.aToken[0], "uvfile") ){ |
| 1308 | 1311 | xfer_accept_unversioned_file(&xfer, g.perm.WrUnver); |
| 1309 | 1312 | if( blob_size(&xfer.err) ){ |
| 1310 | 1313 | cgi_reset_content(); |
| 1311 | 1314 | @ error %T(blob_str(&xfer.err)) |
| 1315 | + fossil_print("%%%%%%%% xfer.err: '%s'\n", blob_str(&xfer.err)); | |
| 1312 | 1316 | nErr++; |
| 1313 | 1317 | break; |
| 1314 | 1318 | } |
| 1315 | 1319 | }else |
| 1316 | 1320 | |
| 1317 | 1321 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -354,11 +354,14 @@ | |
| 354 | }else{ |
| 355 | nullContent = 1; |
| 356 | } |
| 357 | |
| 358 | /* The isWriter flag must be true in order to land the new file */ |
| 359 | if( !isWriter ) goto end_accept_unversioned_file; |
| 360 | |
| 361 | /* Make sure we have a valid g.rcvid marker */ |
| 362 | content_rcvid_init(0); |
| 363 | |
| 364 | /* Check to see if current content really should be overwritten. Ideally, |
| @@ -1307,10 +1310,11 @@ | |
| 1307 | if( blob_eq(&xfer.aToken[0], "uvfile") ){ |
| 1308 | xfer_accept_unversioned_file(&xfer, g.perm.WrUnver); |
| 1309 | if( blob_size(&xfer.err) ){ |
| 1310 | cgi_reset_content(); |
| 1311 | @ error %T(blob_str(&xfer.err)) |
| 1312 | nErr++; |
| 1313 | break; |
| 1314 | } |
| 1315 | }else |
| 1316 | |
| 1317 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -354,11 +354,14 @@ | |
| 354 | }else{ |
| 355 | nullContent = 1; |
| 356 | } |
| 357 | |
| 358 | /* The isWriter flag must be true in order to land the new file */ |
| 359 | if( !isWriter ){ |
| 360 | blob_appendf(&pXfer->err, "Write permissions for unversioned files missing"); |
| 361 | goto end_accept_unversioned_file; |
| 362 | } |
| 363 | |
| 364 | /* Make sure we have a valid g.rcvid marker */ |
| 365 | content_rcvid_init(0); |
| 366 | |
| 367 | /* Check to see if current content really should be overwritten. Ideally, |
| @@ -1307,10 +1310,11 @@ | |
| 1310 | if( blob_eq(&xfer.aToken[0], "uvfile") ){ |
| 1311 | xfer_accept_unversioned_file(&xfer, g.perm.WrUnver); |
| 1312 | if( blob_size(&xfer.err) ){ |
| 1313 | cgi_reset_content(); |
| 1314 | @ error %T(blob_str(&xfer.err)) |
| 1315 | fossil_print("%%%%%%%% xfer.err: '%s'\n", blob_str(&xfer.err)); |
| 1316 | nErr++; |
| 1317 | break; |
| 1318 | } |
| 1319 | }else |
| 1320 | |
| 1321 |
+3
-2
| --- www/fossil-v-git.wiki | ||
| +++ www/fossil-v-git.wiki | ||
| @@ -358,21 +358,22 @@ | ||
| 358 | 358 | |
| 359 | 359 | About half of Git's code is POSIX C, and about a third is POSIX shell |
| 360 | 360 | code. This is largely why the so-called "Git for Windows" distributions |
| 361 | 361 | (both [https://git-scm.com/download/win|first-party] and |
| 362 | 362 | [https://gitforwindows.org/|third-party]) are actually an |
| 363 | -[http://mingw.org/wiki/msys|MSYS POSIX portability environment] bundled | |
| 363 | +[https://osdn.net/projects/mingw/|MSYS POSIX portability environment] bundled | |
| 364 | 364 | with all of the Git stuff, because it would be too painful to port Git |
| 365 | 365 | natively to Windows. Git is a foreign citizen on Windows, speaking to it |
| 366 | 366 | only through a translator.⁶ |
| 367 | 367 | |
| 368 | 368 | While Fossil does lean toward POSIX norms when given a choice — LF-only |
| 369 | 369 | line endings are treated as first-class citizens over CR+LF, for example |
| 370 | 370 | — the Windows build of Fossil is truly native. |
| 371 | 371 | |
| 372 | 372 | The third-party extensions to Git tend to follow this same pattern. |
| 373 | -[http://mingw.org/wiki/msys|GitLab isn't portable to Windows at all], | |
| 373 | +[https://docs.gitlab.com/ee/install/install_methods.html#microsoft-windows | | |
| 374 | +GitLab isn't portable to Windows at all], | |
| 374 | 375 | for example. For that matter, GitLab isn't even officially supported on |
| 375 | 376 | macOS, the BSDs, or uncommon Linuxes! We have many users who regularly |
| 376 | 377 | build and run Fossil on all of these systems. |
| 377 | 378 | |
| 378 | 379 | |
| 379 | 380 |
| --- www/fossil-v-git.wiki | |
| +++ www/fossil-v-git.wiki | |
| @@ -358,21 +358,22 @@ | |
| 358 | |
| 359 | About half of Git's code is POSIX C, and about a third is POSIX shell |
| 360 | code. This is largely why the so-called "Git for Windows" distributions |
| 361 | (both [https://git-scm.com/download/win|first-party] and |
| 362 | [https://gitforwindows.org/|third-party]) are actually an |
| 363 | [http://mingw.org/wiki/msys|MSYS POSIX portability environment] bundled |
| 364 | with all of the Git stuff, because it would be too painful to port Git |
| 365 | natively to Windows. Git is a foreign citizen on Windows, speaking to it |
| 366 | only through a translator.⁶ |
| 367 | |
| 368 | While Fossil does lean toward POSIX norms when given a choice — LF-only |
| 369 | line endings are treated as first-class citizens over CR+LF, for example |
| 370 | — the Windows build of Fossil is truly native. |
| 371 | |
| 372 | The third-party extensions to Git tend to follow this same pattern. |
| 373 | [http://mingw.org/wiki/msys|GitLab isn't portable to Windows at all], |
| 374 | for example. For that matter, GitLab isn't even officially supported on |
| 375 | macOS, the BSDs, or uncommon Linuxes! We have many users who regularly |
| 376 | build and run Fossil on all of these systems. |
| 377 | |
| 378 | |
| 379 |
| --- www/fossil-v-git.wiki | |
| +++ www/fossil-v-git.wiki | |
| @@ -358,21 +358,22 @@ | |
| 358 | |
| 359 | About half of Git's code is POSIX C, and about a third is POSIX shell |
| 360 | code. This is largely why the so-called "Git for Windows" distributions |
| 361 | (both [https://git-scm.com/download/win|first-party] and |
| 362 | [https://gitforwindows.org/|third-party]) are actually an |
| 363 | [https://osdn.net/projects/mingw/|MSYS POSIX portability environment] bundled |
| 364 | with all of the Git stuff, because it would be too painful to port Git |
| 365 | natively to Windows. Git is a foreign citizen on Windows, speaking to it |
| 366 | only through a translator.⁶ |
| 367 | |
| 368 | While Fossil does lean toward POSIX norms when given a choice — LF-only |
| 369 | line endings are treated as first-class citizens over CR+LF, for example |
| 370 | — the Windows build of Fossil is truly native. |
| 371 | |
| 372 | The third-party extensions to Git tend to follow this same pattern. |
| 373 | [https://docs.gitlab.com/ee/install/install_methods.html#microsoft-windows | |
| 374 | GitLab isn't portable to Windows at all], |
| 375 | for example. For that matter, GitLab isn't even officially supported on |
| 376 | macOS, the BSDs, or uncommon Linuxes! We have many users who regularly |
| 377 | build and run Fossil on all of these systems. |
| 378 | |
| 379 | |
| 380 |