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

Bug 341035

Summary: Cannot create one working directory per branch
Product: [Technology] EGit Reporter: Marc Bauer <marc.bau>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: matthias.sohn
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Marc Bauer CLA 2011-03-26 10:49:43 EDT
Build Identifier: 0.11.1

If you develop code for multiple branches and you'd like to use/commit patches to all branches I need to checkout every branch at it own and apply a patch afterwards. I need all branches on my disk - all the time.

Reproducible: Always

Steps to Reproduce:
1. Nothing to repro, there is only ONE working directory and I cannot create more.
Comment 1 Matthias Sohn CLA 2011-03-28 09:38:35 EDT
This is no bug but a feature request.

You may want to explore one of the following possible solutions offered by native git:
- git-new-workdir script [1]
- git clone -s [2]
- git clone --reference <repository> [2]

You may also apply the patch on one of the branches and then cherry-pick the resulting commit onto the other branches.

[1] http://git.kernel.org/?p=git/git.git;a=blob_plain;f=contrib/workdir/git-new-workdir;hb=HEAD
[2] http://www.kernel.org/pub/software/scm/git/docs/git-clone.html