Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338646

Summary: [server] REST API for staging calls "git add" twice... always
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: GitAssignee: Project Inbox <orion.git-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P4 CC: gabriel.luong
Version: 0.2Keywords: performance
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tomasz Zarna CLA 2011-03-02 05:52:17 EST
Added in bug 338200, the REST API for staging always calls "git add" twice[1]: first as "git add {path}" and then as "git add -u {path}". The later should be only called when a file need to be removed from the index.

[1] org.eclipse.orion.server.git.servlets.GitIndexHandlerV1.handlePut(HttpServletRequest, HttpServletResponse, Path)
Comment 1 John Arthorne CLA 2015-05-05 14:53:22 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html