Package: git
Version: 1:2.18.0~rc2-2
Severity: normal

Hi

I'm not sure if this should be considered a bug/regression or if
actually the former behaviour was just by chance. Indeed I have not
found an indication in documentation.

Prior to 1:2.18.0~rc2-2 $GIT_DIR is set in the environment in
pre-commit hooks. To demostrate just create a pre-commit hook as

#!/bin/sh
echo "GIT_DIR: ${GIT_DIR:-not set}"

The release-notes meantion some refactoring, but nothing explicitly
for GIT_DIR, unless I missed it.

Regards,
Salvatore

Reply via email to