Finished implementing delete/rename hook.
commit9eec90ec5da239e063eaff6305d77294dc03396e
authorShawn O. Pearce <spearce@spearce.org>
Wed, 21 Jun 2006 05:29:33 +0000 (21 01:29 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 21 Jun 2006 05:29:33 +0000 (21 01:29 -0400)
tree8f9a5e787d3d32e00acf4d0313536e6f90c43d4a
parente339766abc2b919e7bb396cae22ddef065821381
Finished implementing delete/rename hook.

The hook attempts to update the cache tree when moves
or deletes occur in the workspace.  Right now it does a
pretty good job at tracking the rename or delete but it
doesn't ensure that if the rename is going through that it
actually is going through as the cache may not get written
to disk before a workspace crash.

Patch: Prototype-Implementation
org.spearce.egit.core/src/org/spearce/egit/core/CoreText.java
org.spearce.egit.core/src/org/spearce/egit/core/GitMoveDeleteHook.java
org.spearce.egit.core/src/org/spearce/egit/core/coretext.properties
org.spearce.egit.core/src/org/spearce/egit/core/op/TrackOperation.java [moved from org.spearce.egit.core/src/org/spearce/egit/core/op/AddOperation.java with 97% similarity]
org.spearce.egit.ui/plugin.properties
org.spearce.egit.ui/plugin.xml
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/actions/Track.java [moved from org.spearce.egit.ui/src/org/spearce/egit/ui/internal/actions/Add.java with 73% similarity]
org.spearce.jgit/src/org/spearce/jgit/lib/ForceModified.java [new file with mode: 0644]
org.spearce.jgit/src/org/spearce/jgit/lib/Tree.java
org.spearce.jgit/src/org/spearce/jgit/lib/TreeEntry.java