Merge pull request #15 from Wenz-jam/master

避免sync造成的不必要的阻塞
This commit is contained in:
Zihao Yu 2023-11-19 13:18:38 +08:00 committed by GitHub
commit 45b0981285
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ endef
# prototype: git_commit(msg) # prototype: git_commit(msg)
define git_commit define git_commit
-@flock $(LOCK_DIR) $(MAKE) -C $(YSYX_HOME) .git_commit MSG='$(1)' -@flock $(LOCK_DIR) $(MAKE) -C $(YSYX_HOME) .git_commit MSG='$(1)'
-@sync -@sync $(LOCK_DIR)
endef endef
.git_commit: .git_commit: