projects
/
sockgit.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Rewrite listener in Rust
[sockgit.git]
/
sockgit.sh
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
#!/bin/bash
2
if [ $# -lt 2 ]
3
then
4
echo $#
5
echo "Usage: sockgit <host> <repo-name>"
6
exit 1
7
fi
8
if [ -z $PORT ]
9
then
10
PORT=9119
11
fi
12
echo $2 | timeout 1 netcat $1 $PORT