From: Stephen Rothwell Date: Sun, 6 Apr 2008 23:54:22 +0000 (+1000) Subject: Add the new tree to the history branch X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=9e4e30f174b715967f0cff6c5306f367cf221698;p=next-scripts Add the new tree to the history branch --- diff --git a/make_tree_file b/make_tree_file index 2a5a980..da57244 100755 --- a/make_tree_file +++ b/make_tree_file @@ -27,4 +27,8 @@ git commit -s -v -a -m "Add linux-next specific files" git tag "next-$d" git update-ref refs/heads/stable refs/remotes/origin/master +# Stitch the new tree into the history branch +new_ref=$(echo "next-$d" | git commit-tree 'HEAD^{tree}' -p history -p HEAD) +git update-ref -m "next-$d" refs/heads/history $new_ref + exit 0