Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318526 - FileHeader getOldName/getNewName should be getOldPath/getNewPath
Summary: FileHeader getOldName/getNewName should be getOldPath/getNewPath
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.9.0   Edit
Assignee: Shawn Pearce CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 19:19 EDT by Shawn Pearce CLA
Modified: 2010-08-04 14:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Pearce CLA 2010-06-30 19:19:27 EDT
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.
Comment 1 Shawn Pearce CLA 2010-07-28 17:46:14 EDT
Rename proposed in http://egit.eclipse.org/r/1195
Comment 2 Shawn Pearce CLA 2010-08-04 14:02:25 EDT
Committed as 60c5939b236723cb43344115eed03caf8de2b22a