author | Michael J Gruber <git@drmicha.warpmail.net> | |
Mon, 11 May 2009 14:42:53 +0000 (16:42 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 14 May 2009 03:25:56 +0000 (20:25 -0700) | ||
commit | 1be570f4ebb5f3c4e0a56341db166a760829782a | |
tree | 94211bc00ce1e4998998001e32215e58f70c30fe | tree | snapshot |
parent | a95148dea1d9546e96adef7c3cad11be80aa30f5 | commit | diff |
Test tracking of non-commit upstreams
git-checkout and git-branch allow setting up an arbitrary committish as
the upstream reference for --track. In particular, tags are allowed. But
they and git-status barf on non-commit upstreams as soon as they are
asked for trackings stats.
Expose this shortcoming by adding two tests: annotated tags are affected
but lightweight tags are OK.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-checkout and git-branch allow setting up an arbitrary committish as
the upstream reference for --track. In particular, tags are allowed. But
they and git-status barf on non-commit upstreams as soon as they are
asked for trackings stats.
Expose this shortcoming by adding two tests: annotated tags are affected
but lightweight tags are OK.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6040-tracking-info.sh | diff | blob | history |