From: Oleg Broytman Date: Tue, 29 Apr 2025 12:44:44 +0000 (+0300) Subject: Refactor: Edit `.git/description` as the last step X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=HEAD;p=git-scripts.git Refactor: Edit `.git/description` as the last step --- diff --git a/clone b/clone index 774d6a7..0d2a1fc 100755 --- a/clone +++ b/clone @@ -23,6 +23,6 @@ fi && pwd >> "`dirname \"$0\"`"/locate-all.list && branch="`git rev-parse --abbrev-ref HEAD`" && -`git var GIT_EDITOR` .git/description && git config push.default current && -exec git gc --aggressive +git gc --aggressive && +exec `git var GIT_EDITOR` .git/description diff --git a/fork b/fork index 348c5e6..6c07d6c 100755 --- a/fork +++ b/fork @@ -38,5 +38,5 @@ git config branch.$branch.remotepush origin && git config branch.$branch.merge refs/heads/$branch && git config push.default current && -`git var GIT_EDITOR` .git/description && -exec git gc --aggressive +git gc --aggressive && +exec `git var GIT_EDITOR` .git/description