Bug 338646 - [server] REST API for staging calls "git add" twice... always
Summary: [server] REST API for staging calls "git add" twice... always
Status: RESOLVED WONTFIX
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Git (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2011-03-02 05:52 EST by Tomasz Zarna CLA
Modified: 2015-05-05 14:53 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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