Skip to content

Commit

Permalink
Fix upload-pack regex
Browse files Browse the repository at this point in the history
  • Loading branch information
distracteddev committed Nov 14, 2012
1 parent e0b54b6 commit f52b2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function (opts, req, res) {

var headerRE = {
'receive-pack' : '([0-9a-fA-F]+) ([0-9a-fA-F]+) refs\/(heads|tags)\/(.*?)( |00|\u0000)',
'upload-pack' : '7bwant ([0-9a-fA-F]+)'
'upload-pack' : '^\\S+ ([0-9a-fA-F]+)'
};

function Service (opts, req, res) {
Expand Down

0 comments on commit f52b2ae

Please sign in to comment.