summaryrefslogtreecommitdiff
path: root/svn2git-sync
blob: ad0adf14376c426cce550c3542e0aea527802517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
#
# Sync git-svn repo to git repository.
#
# To be called in crontab.

if [ $# -lt 2 ] ; then
	echo "usage: ${0} GIT_SVN_REPO_CHECKOUT GIT_REPO"
	exit 2
fi

GIT_SVN_REPO_CHECKOUT=$1
GIT_REPO=$2

if [ ! -d $GIT_SVN_REPO_CHECKOUT/.git/svn ] ; then
	echo "error: no git-svn checkout found in $GIT_SVN_REPO_CHECKOUT"
	exit 3
fi

p=$(pwd)
cd $GIT_SVN_REPO_CHECKOUT
git svn rebase
git push --all $GIT_REPO

cd $p

# vim:ft=sh
ue}_build_headerTom Herbert1-4/+4 Create __fou_build_header and __gue_build_header. These implement the protocol generic parts of building the fou and gue header. fou_build_header and gue_build_header implement the IPv4 specific functions and call the __*_build_header functions. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net> 2014-11-12ip_tunnel: Ops registration for secondary encap (fou, gue)Tom Herbert1-22/+3 Instead of calling fou and gue functions directly from ip_tunnel use ops for these that were previously registered. This patch adds the logic to add and remove encapsulation operations for ip_tunnel, and modified fou (and gue) to register with ip_tunnels. This patch also addresses a circular dependency between ip_tunnel and fou that was causing link errors when CONFIG_NET_IP_TUNNEL=y and CONFIG_NET_FOU=m. References to fou an gue have been removed from ip_tunnel.c Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> 2014-11-05gue: TX support for using remote checksum offload optionTom Herbert1-1/+13 Add if_tunnel flag TUNNEL_ENCAP_FLAG_REMCSUM to configure remote checksum offload on an IP tunnel. Add logic in gue_build_header to insert remote checksum offload option. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> 2014-11-05net: Move fou_build_header into fou.c and refactorTom Herbert1-0/+26 Move fou_build_header out of ip_tunnel.c and into fou.c splitting it up into fou_build_header, gue_build_header, and fou_build_udp. This allows for other users for TX of FOU or GUE. Change ip_tunnel_encap to call fou_build_header or gue_build_header based on the tunnel encapsulation type. Similarly, added fou_encap_hlen and gue_encap_hlen functions which are called by ip_encap_hlen. New net/fou.h has prototypes and defines for this. Added NET_FOU_IP_TUNNELS configuration. When this is set, IP tunnels can use FOU/GUE and fou module is also selected. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>