From 90969d5e9defcd593c7acc416247cd7a6b04e532 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 3 Oct 2020 17:51:33 +0200 Subject: Remove old files These files were for ideas and explorations of solutions. We now have a working implementation independent of them. --- git-oldest-ancestor | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 git-oldest-ancestor (limited to 'git-oldest-ancestor') diff --git a/git-oldest-ancestor b/git-oldest-ancestor deleted file mode 100755 index 57db44d..0000000 --- a/git-oldest-ancestor +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# git-oldest-ancestor -# -# Finds the branch point of the current HEAD. -# -# From lindes (https://stackoverflow.com/users/313756/lindes) on Stack Overflow -# https://stackoverflow.com/questions/1527234/finding-a-branch-point-with-git/4991675#4991675 -# https://stackoverflow.com/questions/1527234/finding-a-branch-point-with-git/4991675#comment42897586_4991675 - -diff \ - --old-line-format='' \ - --new-line-format='' \ - <(git rev-list --first-parent "${1:-master}") \ - <(git rev-list --first-parent "${2:-HEAD}") | - head -1 -- cgit v1.2.3