diff options
author | Petr Baudis <pasky@suse.cz> | 2006-06-25 03:54:26 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-02 17:14:42 -0700 |
commit | 24c4b7143639cc821b6d06f9e125429e65dad8cd (patch) | |
tree | dbdce1c44b2e96893cb6fc895efb6727a93f5332 /perl/Git.xs | |
parent | a6065b548fc74ce4d8a655e17bfb1dba39540464 (diff) | |
download | git-24c4b7143639cc821b6d06f9e125429e65dad8cd.tar.gz git-24c4b7143639cc821b6d06f9e125429e65dad8cd.tar.xz |
Git.pm: Swap hash_object() parameters
I'm about to introduce get_object() and it will be better for consistency
if the object type always goes first. And writing 'blob' there explicitly
is not much bother.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'perl/Git.xs')
-rw-r--r-- | perl/Git.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl/Git.xs b/perl/Git.xs index 8b06ebfae..3030ba9ab 100644 --- a/perl/Git.xs +++ b/perl/Git.xs @@ -104,9 +104,9 @@ CODE: } char * -xs_hash_object(file, type = "blob") - SV *file; +xs_hash_object(type, file) char *type; + SV *file; CODE: { unsigned char sha1[20]; |