Fossil

Check-in [c83c1110]
Login

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

Overview
Comment:Promote the "sha1sum" command to a first-class fully documented command.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c83c1110f696bedb5f8d291d956f8995530594b4
User & Date: drh 2009-09-30 23:24:06
Context
2009-10-01
14:47
Disable the check of the "server-code" on a sync. This means that two repositories with the same "server-code" can sync with each other, which allows a repository to be copied using an ordinary file copy, and without having to run clone. check-in: 469efd6a user: drh tags: trunk
2009-09-30
23:24
Promote the "sha1sum" command to a first-class fully documented command. check-in: c83c1110 user: drh tags: trunk
2009-09-23
16:54
place the cursor in the username text box on the login screen. check-in: ca08c1d1 user: rwilson tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/sha1.c.

534
535
536
537
538
539
540
541

542
543
544
545
546
547
548
  SHA1Result(&ctx, zResult);
  DigestToBase16(zResult, blob_buffer(pCksum));
  return 0;
}


/*
** COMMAND: test-sha1sum

**
** Compute an SHA1 checksum of all files named on the command-line.
** If an file is named "-" then take its content from standard input.
*/
void sha1sum_test(void){
  int i;
  Blob in;







|
>







534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
  SHA1Result(&ctx, zResult);
  DigestToBase16(zResult, blob_buffer(pCksum));
  return 0;
}


/*
** COMMAND: sha1sum
** %fossil sha1sum FILE...
**
** Compute an SHA1 checksum of all files named on the command-line.
** If an file is named "-" then take its content from standard input.
*/
void sha1sum_test(void){
  int i;
  Blob in;