diff options
author | Thomas Wolf | 2019-07-18 10:00:52 +0000 |
---|---|---|
committer | Matthias Sohn | 2019-07-22 22:21:42 +0000 |
commit | 94da2cca5ab3a4ea25cfe269e66129cd32f50286 (patch) | |
tree | a9f1e7ba43637bf3be7857bf42967031857517d7 /org.eclipse.egit.ui/src/org | |
parent | 667dc0c5175637e32b4b9f41c37006e7f827beeb (diff) | |
download | egit-94da2cca5ab3a4ea25cfe269e66129cd32f50286.tar.gz egit-94da2cca5ab3a4ea25cfe269e66129cd32f50286.tar.xz egit-94da2cca5ab3a4ea25cfe269e66129cd32f50286.zip |
Simplify RepositoryUtils.mapCommitToRef()
Don't re-resolve a known tag ref; just ask it directly for its object
id. Also factor out and simplify duplicate code for finding a local or
remote branch for a commit id.
Bug: 549178
Change-Id: Id8ea90e323c43ecad8ec677a2c2f2b3b6f473ce9
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui/src/org')
0 files changed, 0 insertions, 0 deletions