Issue Type: Improvement Improvement
Assignee: Nicolas De Loof
Components: git-plugin
Created: 24/Dec/14 8:52 AM
Description:

When checking out to a workspace without the clean workspace option specified, I would expect the checkout to work exactly as it would if I just performed a pull to my local repository. Git actually performs a checkout -f, resulting in all the timestamps being updated to "now".

To avoid changing the checkout behaviour, it would be useful to have a post checkout task that updates modified timestamps to their last authored time. See this post:

http://www.jefferyfernandez.id.au/2011/07/30/update-timestamp-of-files-in-checked-out-git-repository/

Project: Jenkins
Priority: Major Major
Reporter: Craig Phillips
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to