[PATCH] Unset variables messing with Git use
Amir Yalon
quoiceehoh-20180826 at yxejamir.net
Tue Aug 13 22:09:57 CEST 2019
Hi,
On Tue, Aug 13, 2019, at 12:54, martin f. krafft wrote:
>
> +unset GIT_DIR GIT_WORK_TREE GIT_NAMESPACE GIT_INDEX_FILE GIT_OBJECT_DIRECTORY
> +
The list might not be comprehensive; the following appear in the man page for my local installation of git (version 2.20.1) in the first group under ENVIRONMENT VARIABLES:
GIT_INDEX_FILE GIT_INDEX_VERSION GIT_OBJECT_DIRECTORY GIT_ALTERNATE_OBJECT_DIRECTORIES GIT_DIR GIT_WORK_TREE GIT_NAMESPACE GIT_CEILING_DIRECTORIES GIT_DISCOVERY_ACROSS_FILESYSTEM GIT_COMMON_DIR
…so we might want to unset all of them, just in case.
More information about the Password-Store
mailing list