diff options
author | Johan Herland <johan@herland.net> | 2010-06-04 01:17:37 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-06 10:16:37 -0700 |
commit | cb7529e13bce186f8b883c9fbb08602cd3a0795f (patch) | |
tree | 882bf412298bf54f2256e0b6b148735159746f65 /.gitattributes | |
parent | revision: Fix typo in --ancestry-path error message (diff) | |
download | tgif-cb7529e13bce186f8b883c9fbb08602cd3a0795f.tar.xz |
revision: Turn off history simplification in --ancestry-path mode
When using --ancestry-path together with history simplification (typically
triggered by path limiting), history simplification would get in the way of
--ancestry-path by prematurely removing the parent links between commits on
which the ancestry path calculations are made.
This patch disables this history simplification when --ancestry-path is
enabled. This is similar to what e.g. --full-history already does.
The patch also includes a simple testcase verifying that --ancestry-path
works together with path limiting.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions