chiark / gitweb /
dgit: Add many pre_* to call no_local_git_cfg
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 28 Jun 2017 16:00:19 +0000 (17:00 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 8 Jul 2017 17:54:00 +0000 (18:54 +0100)
commit3441896d54a67afcf18987eed287061d2afea956
tree436740b679b8bb2cfb0a6525e4bf02321fe8cae8
parent1171def5bb4f2659d19718ad39c81c1aa6b162cd
dgit: Add many pre_* to call no_local_git_cfg

For each operation which can meaningfully be run outside a git tree,
arrange to call no_local_git_cfg and thus avoid running
  git config --local

There is one slight infelicity: some subcommands (notably
archive-api-query) could in theory be run within a git tree and expect
that git tree to influence their output.  However, this seems
unlikely.  In fact, I think there are probably only in-tree callers
and the in-tree callers do not do this.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
dgit