[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 253114] Shorten the hashes in annotation view
From: Milian Wolff <mail () milianw ! de>
Date: 2010-10-07 0:05:46
Message-ID: 20101007000546.86ADF72191 () immanuel ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=253114
Milian Wolff <mail@milianw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Milian Wolff <mail milianw de> 2010-10-07 02:05:45 ---
commit f470839155974d59b31c3d6d2b44bfd9d0593b37
Author: Milian Wolff <mail@milianw.de>
Date: Thu Oct 7 02:03:41 2010 +0200
truncate git hashes to 8 chars in annotate view
BUG: 253114
diff --git a/plugins/git/gitplugin.cpp b/plugins/git/gitplugin.cpp
index c387ab4..7fca835 100644
--- a/plugins/git/gitplugin.cpp
+++ b/plugins/git/gitplugin.cpp
@@ -470,7 +470,7 @@ void GitPlugin::parseGitBlameOutput(DVcsJob *job)
QStringList values = value.split(' ');
VcsRevision rev;
- rev.setRevisionValue(name, KDevelop::VcsRevision::GlobalNumber);
+ rev.setRevisionValue(name.truncate(8),
KDevelop::VcsRevision::GlobalNumber);
skipNext = definedRevisions.contains(name);
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic