encode_uint32 second parameter should be uint32_t, not unsigned long
[git-daemon2.git] / gits-send-special-command-nourl
blobe9de10a7bf5e206ca9bdb04bb9b55d5aa25c33e6
1 #!/bin/bash
3 # Copyright (C) Ilari Liusvaara 2009
5 # This code is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License version 2 as
7 # published by the Free Software Foundation.
10 if test "x${1}" == "x--help"
11 then
12 echo "gits-send-special-command-nourl: Send special command to "
13 echo "server with no explicit path"
14 echo "command line:"
15 echo "--help"
16 echo -e "\x09This help"
17 echo "<service> <URL>"
18 echo -e "\x09Send request for <service> to specified <URL> the "
19 echo -e "\x09path part of URL is ignored."
20 exit 0
23 git-remote-gits --nourl-service=$1 $2