xref: /freebsd/contrib/unifdef/scripts/svnup.sh (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1#!/bin/sh -e
2
3git svn fetch -A scripts/authors.svn
4
5git checkout FreeBSD
6
7case "$(git merge --no-commit git-svn)" in
8"Already up-to-date.")
9	exit 0
10esac
11
12git commit -m 'Merge back from svn'
13