Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Git.pm: Swap hash_object() parameters
[gitweb.git]
/
perl
/
Git.xs
diff --git
a/perl/Git.xs
b/perl/Git.xs
index 8b06ebfae9e7b96c71a2fb03851d99b76ee88ec6..3030ba9ab55e05a6a0debc18e634e25c0a8e6ece 100644
(file)
--- 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];