git-publish
git-publish copied to clipboard
Doesn't respect git -c x=y configuration overrides
When invoked as a git subcommand, git-publish won't respect configuration overrides given on the git command line with the -c option. e.g.
git -c sendemail.smtpserver=smtp.example.com publish ...
Will still use the normal default smtp server, rather than the one given on the comand line.
I use a wrapper script with a bunch of -c overrides to distinguish between my upstream and downstream workflows, which makes it difficult to use git publish.
Please retry with git -c ... publish --verbose
and post the output.
I verified that git -c ... publish
sets the GIT_CONFIG_PARAMETERS environment variable and that git-publish child processes inherit that environment variable. It's not clear to me why this isn't working and the verbose output from git-publish might help. Thanks!