From f727998817f5473acaa9d6806319bf7e812dc2e1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 14 Jan 2017 20:00:45 -0500 Subject: Rename scripts --- remove-pointless-commit.rb | 52 ---------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100755 remove-pointless-commit.rb (limited to 'remove-pointless-commit.rb') diff --git a/remove-pointless-commit.rb b/remove-pointless-commit.rb deleted file mode 100755 index ba33522..0000000 --- a/remove-pointless-commit.rb +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/ruby -# Executed like the following to trim off pointless commits (including merge commits) -# that doesn't change the tree -# git filter-branch -f --commit-filter '~/ws/jenkins/split2/helper.rb "$@"' HEAD -# -# parameters are " [ -p ]*" and is the same as git commit-tree - -# system "echo executing #{ARGV.join(' ')} >> /tmp/log" - -# extract parents -parents=[] -i=2 -while i> /tmp/log" - exec "git commit-tree #{args.join(' ')}" -else - # system "echo skipping >> /tmp/log" - # otherwise don't create this as a commit - puts parents -end - - -- cgit v1.2.3