From: Stephen Haberman Date: Thu, 25 Sep 2008 05:57:48 +0000 (-0500) Subject: Make a create-stable-branch script. Easy. X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f81db53e1019e1d90d6e924b081e2c29fa123721;p=git-central.git Make a create-stable-branch script. Easy. Makes me wonder why all git repos don't just start with this empty directory commit instead of the having people do the "you can't clone empty repositories so make a dummy crap" dance. Oh, well, I suppose it does encode my timestamp/user info/etc. Which probably shouldn't be in every new repo git ever created. Okay, fair enough. --- diff --git a/scripts/make-stable-branch b/scripts/make-stable-branch new file mode 100644 index 0000000..f5b4193 --- /dev/null +++ b/scripts/make-stable-branch @@ -0,0 +1,14 @@ +#!/bin/sh + +# Make a root directory tree with no files in it +config_tree_hash=$(git mktree <