From df62f56dcc363dc5fa353eac7873f91d30e6f0d5 Mon Sep 17 00:00:00 2001 From: vszakats Date: Fri, 15 Mar 2013 11:15:06 +0100 Subject: [PATCH] 2013-03-15 11:14 UTC+0100 Viktor Szakats (harbour syenar.net) * bin/commit.hb * deleted hack that was required to handle 'harbour' top dir --- ChangeLog.txt | 4 ++++ bin/commit.hb | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index d746348f93..e8a2d9d928 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,10 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2013-03-15 11:14 UTC+0100 Viktor Szakats (harbour syenar.net) + * bin/commit.hb + * deleted hack that was required to handle 'harbour' top dir + 2013-03-15 11:12 UTC+0100 Viktor Szakats (harbour syenar.net) * /harbour/* -> /* * moved whole Harbour source tree one level up to diff --git a/bin/commit.hb b/bin/commit.hb index 55b6f9c635..147a6111a1 100644 --- a/bin/commit.hb +++ b/bin/commit.hb @@ -109,10 +109,6 @@ STATIC FUNCTION VCSDetect() DO CASE CASE hb_DirExists( ".svn" ) ; RETURN "svn" CASE hb_DirExists( ".git" ) ; RETURN "git" - /* to make it work in an unmodified GIT repo. Ideally, all - files/dirs should be moved one dir up, removing the top - 'harbour' directory. */ - CASE hb_DirExists( ".." + hb_ps() + ".git" ) ; RETURN "git" ENDCASE RETURN ""