Skip to content

Add an option to specify root path when creating archives#481

Merged
jdavid merged 3 commits intolibgit2:masterfrom
gandalf013:archive_enh
Feb 7, 2015
Merged

Add an option to specify root path when creating archives#481
jdavid merged 3 commits intolibgit2:masterfrom
gandalf013:archive_enh

Conversation

@gandalf013
Copy link
Contributor

Currently, the write_archive() creates an archive that extracts the files in the "main root" directory. This patch allows one to specify a path under which all the files will be extracted.

@jdavid
Copy link
Member

jdavid commented Feb 7, 2015

@carlosmn something else needs to be changed before merging?

@carlosmn
Copy link
Member

carlosmn commented Feb 7, 2015

No, it's fine for me. 👍

@jdavid jdavid merged commit f5a5dfc into libgit2:master Feb 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants