diff options
author | jasplin <qt-info@nokia.com> | 2009-08-28 13:20:38 +0200 |
---|---|---|
committer | jasplin <qt-info@nokia.com> | 2009-08-28 13:20:38 +0200 |
commit | bd9168be7103fe517154416f3270bd1bc180cf2d (patch) | |
tree | 15063882fb7914e0891cff418d96bd0c030ebf91 /doc | |
parent | 1bbebe2ccce21efa7f53643620680c0c4d9f91f9 (diff) |
Updates.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bmc.html | 4 | ||||
-rw-r--r-- | doc/notes.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/bmc.html b/doc/bmc.html index 926b791..6d9f01d 100644 --- a/doc/bmc.html +++ b/doc/bmc.html @@ -99,11 +99,11 @@ a clean checkout of the current head commit of the current git branch in the git directory. <br /><br /> The sha1 to be stored in the database is assumed to be the current head commit -in the git directory (extracted running <span class="command"> git log -1 HEAD +in the git directory (extracted running <span class="command"> git log -n 1 HEAD --pretty=format:%H</span> or equivalent). <br /><br /> The timestamp to be stored in the database is the Unix timestamp of the -committer date (extracted running <span class="command">git log -1 HEAD +committer date (extracted running <span class="command">git log -n 1 HEAD --pretty=format:%ct</span> or equivalent). <br /><br /> The git repository must be passed explicitly since it cannot in general be diff --git a/doc/notes.txt b/doc/notes.txt index c55a507..ce5367d 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -48,10 +48,10 @@ Use case 1: Add new results: in <git dir>. - The sha1 to be stored in the database is assumed to be the current head commit in - <git dir> (extracted running 'git log -1 HEAD --pretty=format:%H'). + <git dir> (extracted running 'git log -n 1 HEAD --pretty=format:%H'). - The timestamp to be stored in the database is the Unix timestamp of the committer - date (extracted running 'git log -1 HEAD --pretty=format:%ct'). + date (extracted running 'git log -n 1 HEAD --pretty=format:%ct'). - <git repo> must be passed explicitly since it cannot in general be derived from <git dir> (e.g. in the case of a local, standalone |