chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
523c818
)
dgit-repos-push-receiver: wip
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 12 Jan 2014 14:32:18 +0000
(14:32 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 5 Mar 2014 18:29:01 +0000
(18:29 +0000)
dgit-repos-push-receiver
patch
|
blob
|
history
diff --git
a/dgit-repos-push-receiver
b/dgit-repos-push-receiver
index 390f2e0d168c2b69fc0a0f14c3a27e1003108a75..0f7c4b0ddc7376c7aff715a105f5e194c6e2442c 100644
(file)
--- a/
dgit-repos-push-receiver
+++ b/
dgit-repos-push-receiver
@@
-299,14
+299,15
@@
sub parseargs () {
$cmd =~ m{
^
(?:\S*/)?
- (
?:dgit-repos-push-receiver|git-receive
-pack)
+ (
git-receive-pack|git-upload
-pack)
\s+
(?:\S*/)?
($package_re)\.git
$
}ox
or die "requested command $cmd not understood";
- $pkg = $1;
+ $method = $1;
+ $pkg = $2;
} else {
die;
}
@@
-316,6
+317,7
@@
sub parseargs () {
sub main () {
parseargs();
+fixme check method;
makeworkingclone();
setupstunthook();
runcmd qw(git receive-pack), $destdir;