[
https://issues.apache.org/jira/browse/YETUS-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17525140#comment-17525140
]
Allen Wittenauer commented on YETUS-1158:
-----------------------------------------
There are a bunch of potential ways to implement this feature:
* git worktrees
* keep track of the sha/branch/whatever and git clean -xdf; git reset
* copy entire repo to another location
All of these methods have their pros and cons.
> restore repo back to original state
> -----------------------------------
>
> Key: YETUS-1158
> URL: https://issues.apache.org/jira/browse/YETUS-1158
> Project: Yetus
> Issue Type: Improvement
> Affects Versions: 0.13.0
> Reporter: Allen Wittenauer
> Assignee: Allen Wittenauer
> Priority: Major
>
> One of the issues seen is that Apache Yetus purposefully wrecks the existing
> checkout (unless --dirty-workspace is used of course). It would be extremely
> useful if test-patch could automatically restore the repo to the original
> state.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)