From f81db53e1019e1d90d6e924b081e2c29fa123721 Mon Sep 17 00:00:00 2001 From: Stephen Haberman Date: Thu, 25 Sep 2008 00:57:48 -0500 Subject: [PATCH] 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. --- scripts/make-stable-branch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scripts/make-stable-branch 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 <