diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-02-27 10:00:09 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-02-28 12:38:20 -0800 |
commit | f377e7a37c1b28359a228cf5bb43161a8a22b385 (patch) | |
tree | 3c1df5cf5fa79cb24996b67e961ab1d85a514630 /Documentation/RelNotes/1.7.1.2.txt | |
parent | Git 1.8.5.5 (diff) | |
download | tgif-f377e7a37c1b28359a228cf5bb43161a8a22b385.tar.xz |
fetch: add a failing test for prunning with overlapping refspecs
When a remote has multiple fetch refspecs and these overlap in the
target namespace, fetch may prune a remote-tracking branch which still
exists in the remote. The test uses a popular form of this, by putting
pull requests as stored in a popular hosting platform alongside "real"
remote-tracking branches.
The fetch command makes a decision of whether to prune based
on the first matching refspec, which in this case is insufficient, as it
covers the pull request names. This pair of refspecs does work as
expected if the more "specific" refspec is the first in the list.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.1.2.txt')
0 files changed, 0 insertions, 0 deletions