News for hackers. Stuff that matters.
Re:Everything that uses configuration files should report wh... by ris58h on Sunday June 25, 2023 @05:23AM (#36466343)
It's not a bad idea but it's not applicable to every piece of software. I don't think that pass a config file for every git command would be convenient.
Re:Everything that uses configuration files should report wh... by viraptor on Sunday June 25, 2023 @05:50AM (#36466483)
You can change the commandline string at runtime. You could inject a fake "-c correct/path" even if it's not there. (That's useful for other things too, like injecting the git revision of the app into the commandline)