]> source.dussan.org Git - jgit.git/commit
Rename getOldName,getNewName to getOldPath,getNewPath 95/1195/2
authorShawn O. Pearce <spearce@spearce.org>
Wed, 28 Jul 2010 21:45:12 +0000 (14:45 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 4 Aug 2010 18:00:07 +0000 (11:00 -0700)
commit60c5939b236723cb43344115eed03caf8de2b22a
tree43071e9ebc5955e697fadd1b8d4da0c13824c3d9
parent7514a6dbdc1c69a885d900385d0d9f5b40224c2f
Rename getOldName,getNewName to getOldPath,getNewPath

TreeWalk calls this value "path", while "name" is the stuff after the
last slash.  FileHeader should do the same thing to be consistent.
Rename getOldName to getOldPath and getNewName to getNewPath.

Bug: 318526
Change-Id: Ib2e372ad4426402d37939b48d8f233154cc637da
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
14 files changed:
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Log.java
org.eclipse.jgit.test/exttst/org/eclipse/jgit/patch/EGitPatchHistoryTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/RenameDetectorTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/patch/FileHeaderTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/patch/PatchCcTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/patch/PatchErrorTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/patch/PatchTest.java
org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffEntry.java
org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java
org.eclipse.jgit/src/org/eclipse/jgit/diff/RenameDetector.java
org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityRenameDetector.java
org.eclipse.jgit/src/org/eclipse/jgit/patch/FileHeader.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RewriteTreeFilter.java