Do porcelain command require lock management?
- From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
- Date
- Oct 24, 2020, 14:46 UTC
- Message-ID
- <20201024144637.cvwa22f2y4tvfn4z@chatter.i7.local>
Hello:
A script I'm writing performs a succession of porcelain commands to create a commit in a bare git repository:
git hash-object git mktree git commit-tree git update-ref
Do I need to manage external locking around these commands to avoid any concurrency problems, or will git take care of that?
-K