Correct handling of white-space only loose ref files
[jgit/imyousuf.git] / TODO
blobc4ce95e779fb228049cae51eaf9f5c6ca06e944b
1 = JGit Wishlist =
3 Below are some of the areas that needs work. Also take a look at JGit
4 related issues in the EGit project:
6  - http://code.google.com/p/egit/issues/list?q=label:Component-JGit
8 == Switch Branch ==
10 Switch to an existing branch, updating the working directory to match.
12 Note that updating the working directory may require a 3 way merge
13 if the working directory is dirty (git checkout -m).
15 My usual git working style is to not switch branches with a dirty
16 working directory; I always commit to the current branch before
17 switching to a new one. I mention that because I assume it'll be
18 easier to implement that workflow first; once you have commit
19 capability, you can do that style of branch switching (either
20 preventing the switch or doing an implicit commit when the working
21 directory is dirty) without having to worry about merging. ''--
22 Steven Grimm''
24 == Merge ==
26 Merging changes from one local branch to another.
28 Again, like fetch I'd like to keep egit/jgit 100% pure Java and
29 implement merge-recursive in Java.  We may need to invoke RCS
30 merge if Eclipse doesn't have its own 3 way file merge algorithm
31 available, or do what core Git just did and implement a 3 way in
32 memory merge algorithm.  git-merge-recursive is only 1336 lines of C
33 so it should not be too difficult to port the algorithm to pure Java.
35 == SVN Integration ==
37 It would be swell -- but put it at the bottom of your priority list
38 -- to have git-svn interoperability; sadly most of my git usage at
39 the moment is in cloned svn repositories and it would be great if
40 egit could do the right thing when the current git repo is cloned
41 from svn. What "the right thing" is, exactly, is debatable, but I
42 suppose some kind of integration with the Subclipse plugin is one
43 possibility (and if nothing else, that plugin probably has code
44 that can be reused.) I'd like to be able to update from and commit
45 to the parent svn repository. ''-- Steven Grimm''
47 I'm considering this to be out of scope for the time being, but if
48 someone takes it on and submits reasonable patches we'll include
49 them. ''-- Shawn Pearce''