diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-02-12 11:31:45 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-12 16:01:47 -0800 |
commit | 17f1365dbce9aa00cab3f196e7fa7138d9081eef (patch) | |
tree | 8d66e92d668049ec01b4d970d8fcc0506e0b1b99 /.gitattributes | |
parent | Git 2.7 (diff) | |
download | tgif-17f1365dbce9aa00cab3f196e7fa7138d9081eef.tar.xz |
rev-parse: take prefix into account in --git-common-dir
Most of the time, get_git_common_dir() returns an absolute path so
prefix is irrelevant. If it returns a relative path (e.g. from the
main worktree) then prefixing is required.
Noticed-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions