summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 70676e6)
raw | patch | inline | side by side (parent: 70676e6)
author | Jonathan Nieder <jrnieder@gmail.com> | |
Fri, 20 Aug 2010 10:38:14 +0000 (05:38 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Aug 2010 21:16:50 +0000 (14:16 -0700) |
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/user-manual.txt | patch | blob | history |
index 22aee34d4a49b242370e5244f35d542ad0b79391..fecc4eb5b3b853f4781c769fff8337e8bb6c3500 100644 (file)
negative numbers in case of different errors--and 0 on success.
- the variable `sha1` in the function signature of `get_sha1()` is `unsigned
- char \*`, but is actually expected to be a pointer to `unsigned
+ char {asterisk}`, but is actually expected to be a pointer to `unsigned
char[20]`. This variable will contain the 160-bit SHA-1 of the given
- commit. Note that whenever a SHA-1 is passed as `unsigned char \*`, it
+ commit. Note that whenever a SHA-1 is passed as `unsigned char {asterisk}`, it
is the binary representation, as opposed to the ASCII representation in
hex characters, which is passed as `char *`.