Package: git Version: 1:2.1.1-1 Severity: normal This kind of stuff caused me a lot of hair-pulling:
$ git config core.abbrev 32 git log --pretty=oneline --abbrev-commit 89be foo Here's the source of the discrepancy: $ grep abbrev $GIT_CONFIG .git/config git.conf: abbrev=32 .git/config: abbrev=4 Since dc87183, $GIT_CONFIG is ignored by any other Git command, but it *still* applies to git-config. This basically means that values obtained via git-config are not necessarily those which are actually in effect. The really frustrating part (for me, at least) is that for any tool (gitweb in my case) which uses git-config, values from $GIT_CONFIG will take effect for that tool, but not for any subsequent Git command. git-config(1) doesn't make this clear either; it mentions $GIT_CONFIG as "the configuration", without saying explicitly that this environment variable only applies to git-config. I'll leave it to you to determine whether this is a real concern, or merely a documentation issue. (But if you ask me, the current behavior is plain evil. <g>) -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.16-2-amd64 (SMP w/3 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages git depends on: ii git-man 1:2.1.1-1 ii libc6 2.19-11 ii libcurl3-gnutls 7.38.0-2 ii liberror-perl 0.17-1.1 ii libexpat1 2.1.0-6 ii libpcre3 1:8.35-3 ii perl-modules 5.20.1-1 ii zlib1g 1:1.2.8.dfsg-2 Versions of packages git recommends: ii less 458-3 ii openssh-client [ssh-client] 1:6.6p1-7 ii patch 2.7.1-6 ii rsync 3.1.1-2 Versions of packages git suggests: ii gettext-base 0.19.2-2 pn git-arch <none> pn git-cvs <none> pn git-daemon-run | git-daemon-sysvinit <none> pn git-doc <none> pn git-el <none> ii git-email 1:2.1.1-1 pn git-gui <none> pn git-mediawiki <none> ii git-svn 1:2.1.1-1 ii gitk 1:2.1.1-1 pn gitweb <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org