Commit dfcc3f0a authored by Oliver Pinter's avatar Oliver Pinter
Browse files

HBSD: add support to sync git notes with FreeBSD's git repo

Signed-off-by: default avatarOliver Pinter <>
parent d1fbb9a1
......@@ -8,6 +8,7 @@ endif
cd hardenedBSD.git
git remote add freebsd
git config --add remote.freebsd.fetch '+refs/notes/*:refs/notes/*'
git fetch freebsd
# FreeBSD upstream repos
......@@ -31,6 +31,9 @@ git stash
(git fetch origin) |& ${TEE_CMD} ${LOGS}/freebsd-fetch-${DATE}.log
(git fetch freebsd) |& ${TEE_CMD} ${LOGS}/freebsd-fetch-${DATE}.log
# pushing the freshly fetched FreeBSD commit notes to hardenedbsd repo
# these contains the svn revision ids
(git push origin refs/notes/commits) |& ${TEE_CMD} ${LOGS}/freebsd-fetch-${DATE}.log
foreach branch ( ${BRANCHES} )
set err=0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment