X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=fork;fp=fork;h=64a281c2df31895b28a076401cef1f3087402fe4;hb=7f923927d1c434b0ea0853bfeea5ff5ef3fc08fe;hp=99a84766258911f57c08a9c73ddc9fcd346161d9;hpb=a78cda4ceab33318042626138aaf727a2fa871c0;p=git-scripts.git diff --git a/fork b/fork index 99a8476..64a281c 100755 --- a/fork +++ b/fork @@ -11,6 +11,7 @@ local_repo="`basename \"$origin\" .git`" git clone -o upstream "$upstream" "$local_repo" && cd "$local_repo" && +pwd >> "`dirname \"$0\"`"/locate-all.list && git remote add origin "$origin" && chmod a-x .git/config && @@ -24,5 +25,4 @@ git config branch.$branch.remotepush origin && git config branch.$branch.merge refs/heads/$branch && git config push.default current && -git gc --aggressive && -exec pwd >> "`dirname \"$0\"`"/locate-all.list +exec git gc --aggressive