From 3b471187be33af12a1eb6fb37195fd0fce7f6fd2 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 6 Aug 2011 02:31:31 +0200 Subject: git-eternal-move: add to wrong location --- refactory/bin/git-eternal-move | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 refactory/bin/git-eternal-move (limited to 'refactory') diff --git a/refactory/bin/git-eternal-move b/refactory/bin/git-eternal-move new file mode 100755 index 00000000..075748fd --- /dev/null +++ b/refactory/bin/git-eternal-move @@ -0,0 +1,11 @@ +#! /bin/sh +# +# git-eternal-move FROM TO +# +set -euf +git filter-branch --tree-filter " + set -euf + if test -e '$1'; then + mkdir -p '`dirname "$2"`' + mv '$1' '$2' + fi" -- cgit v1.2.3