You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to set multiple configs with Promise.all, but it seems as nodegit / libgit2 will lock the config on the first Config.setString call. So my first question is: Is it correct that it is only possible to set 1 config at the time?
Second question: Is Config.setString always --global?
I would like to set the local config of the repo:
Finally, Git looks for configuration values in the configuration file in the Git directory (.git/config) of whatever repository you’re currently using. These values are specific to that single repository. http://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration
From the git docs there seems to be system, global and local. Can this be configured?
The text was updated successfully, but these errors were encountered:
I do think that the it will only allow you to set one at a time right now. There will be a config.lock file in your .git directory that will cause them to thread lock.
thisconnect
pushed a commit
to thisconnect/nodegit-kit
that referenced
this issue
Nov 14, 2015
I tried to set multiple configs with Promise.all, but it seems as nodegit / libgit2 will lock the config on the first Config.setString call. So my first question is: Is it correct that it is only possible to set 1 config at the time?
Second question: Is Config.setString always --global?
I would like to set the local config of the repo:
From the git docs there seems to be system, global and local. Can this be configured?
The text was updated successfully, but these errors were encountered: