Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Add support for export when building #52

Open
pkruithof opened this issue Jul 17, 2015 · 0 comments
Open

Add support for export when building #52

pkruithof opened this issue Jul 17, 2015 · 0 comments

Comments

@pkruithof
Copy link
Contributor

As is stands now, the export task actually does the following:

For git: git clone
For svn: svn export

These are not really equivalents: a svn export is a distribution of the source code, without the version control history etc. While the git clone command actually creates a local repository.

The git equivalent seems to be archive. The reason I'm asking is because I wanted to use .gitattributes to exclude certain paths from exporting (to save time), but that does not work with clone.

Not sure if the default action should be changed (seems like a BC break), or if it should be configurable. But it would be nice if this was fixed to be similar across VCS systems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant