]> git.phdru.name Git - git-scripts.git/commit
Refactor(submodules/remove): Get `GIT_DIR` once
authorOleg Broytman <phd@phdru.name>
Sat, 16 Nov 2024 21:32:36 +0000 (00:32 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 16 Nov 2024 21:32:36 +0000 (00:32 +0300)
commitc6af4d8f974b605bc83c722510f4f87c41c0a05f
tree6cb8beb43c2138cb01dd219f7f77f7b2ae4d3b35
parent17122f33d0011656e73440bb88ded051ad2feed1
Refactor(submodules/remove): Get `GIT_DIR` once

Call `git rev-parse --git-dir` once.
Also replace `$()` with backticks.
submodules/remove