History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3003
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Robin Shen
Reporter: AlSt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Git gc run before doing a fetch/pull

Created: 28/Jun/17 02:04 PM   Updated: 24/Feb/18 03:26 AM
Component/s: None
Affects Version/s: 6.1.36
Fix Version/s: 8.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Hi,

Git has issues with regularly fetched git repositories. This means that it reports an error an suggests to run git gc to get rid of git garbage. It would be a good idea to do a git gc during the checkout step before doing operations against a local repository clone like fetch, pull, etc. to avoid such issues.

So running "git gc" should suffice. The only thing to do before that is to delete the gc.log file if it exists, else it would not work.

This would be a nice to have that in the GitRepository directly to not need any weird groovy preexecute action which performs that.

Thanks
Alex

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.