Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341035 - Cannot create one working directory per branch
Summary: Cannot create one working directory per branch
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-26 10:49 EDT by Marc Bauer CLA
Modified: 2011-03-28 09:38 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 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