Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349220 - git.eclass: git fetch may need "-t" option
Summary: git.eclass: git fetch may need "-t" option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 17:45 UTC by Naohiro Aota
Modified: 2011-04-20 21:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2010-12-20 17:45:05 UTC
Please see git-fetch(1) below

       -t, --tags
           Most of the tags are fetched automatically as branch heads are downloaded, but tags that do not point at objects reachable from the branch heads that are being tracked will not be fetched by this
           mechanism. This flag lets all tags and their associated objects be downloaded.

Thus, if a user doesn't update their git repository for some weeks or months and then updating the repository may sometime cause "missing tags"
If a ebuild developer specify such "missing tag" as EGIT_COMMIT,  git_src_unpack fail to obtain the source files.

Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-20 21:51:44 UTC
Fixed in git-2.eclass git.eclass is obsoleted by it so just migrate your ebuilds.