chriswalz / bit

Bit is a modern Git CLI
Apache License 2.0
6.05k stars 106 forks source link

Inherits the current process's environment when exec git cmd #105

Closed reyoung closed 3 years ago

reyoung commented 3 years ago

exec.Command will not inherit the parent's environment when cmd.Env is not nil.

chriswalz commented 3 years ago

@reyoung I will probably merge this today. How did this problem manifest itself?

chriswalz commented 3 years ago

Closing since it's effectively the same PR as #104. Let me know how the problem came about