From 791d7044817b71f8be50f0ffecc36823970b82eb Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 27 Oct 2017 03:48:17 +0300 Subject: [PATCH] Fix(fork): Do not add the existing repo to locate-all.list --- fork | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fork b/fork index 2f032d5..146cde4 100755 --- a/fork +++ b/fork @@ -19,11 +19,10 @@ if [ -d .git ]; then else git clone -o upstream "$upstream" "$local_repo" && cd "$local_repo" && + pwd >> "`dirname \"$0\"`"/locate-all.list && git remote add origin "$origin" fi && -pwd >> "`dirname \"$0\"`"/locate-all.list && - chmod a-x .git/config && branch="`git rev-parse --abbrev-ref HEAD`" -- 2.39.2