]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/save-getenv-result'
authorJunio C Hamano <gitster@pobox.com>
Tue, 29 Jan 2019 20:47:53 +0000 (12:47 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jan 2019 20:47:54 +0000 (12:47 -0800)
commit773e4088819cb17150afd4929f32bccabb8e2acd
tree16a345c12e869466049d0c6641b783c32ed84c83
parent15b07cba0b60f0fc5dea0be0d68a355a8161476d
parent0da0e9268b4825cafb27bb0e07b43fae30bb33da
Merge branch 'jk/save-getenv-result'

There were many places the code relied on the string returned from
getenv() to be non-volatile, which is not true, that have been
corrected.

* jk/save-getenv-result:
  builtin_diff(): read $GIT_DIFF_OPTS closer to use
  merge-recursive: copy $GITHEAD strings
  init: make a copy of $GIT_DIR string
  config: make a copy of $GIT_CONFIG string
  commit: copy saved getenv() result
  get_super_prefix(): copy getenv() result
builtin/commit.c
builtin/config.c
builtin/init-db.c
diff.c
environment.c