xref: /freebsd/contrib/unifdef/scripts/svnup.sh (revision 02e9120893770924227138ba49df1edb3896112a)
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