From 9e4e30f174b715967f0cff6c5306f367cf221698 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Mon, 7 Apr 2008 09:54:22 +1000 Subject: [PATCH] Add the new tree to the history branch --- make_tree_file | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2