Support copying meta fields from one DirCacheEntry to another
commit4f6c1a1b83a65e96400bdc11ac57f64fae943d24
authorShawn O. Pearce <spearce@spearce.org>
Tue, 12 Aug 2008 01:08:04 +0000 (11 18:08 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 14 Aug 2008 17:33:20 +0000 (14 19:33 +0200)
tree20398f73c0383910c64f865ae2a59c07ca373f63
parent901ced0fdb9a497fce09b4aef35609c41baf2c3d
Support copying meta fields from one DirCacheEntry to another

When an application moves a DirCacheEntry record from one path to
another path in the index we need to recreate the entry object and
also copy the meta fields from the old entry to the new entry.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/dircache/DirCacheEntry.java