OSDN Git Service
(root)
/
tortoisegit
/
TortoiseGitJp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
391fd0d
)
BrowseRefs: Simplified some code
author
Johan 't Hart
<johanthart@gmail.com>
Fri, 26 Jun 2009 18:54:44 +0000
(20:54 +0200)
committer
Johan 't Hart
<johanthart@gmail.com>
Fri, 26 Jun 2009 19:03:19 +0000
(21:03 +0200)
src/TortoiseProc/BrowseRefsDlg.cpp
patch
|
blob
|
history
diff --git
a/src/TortoiseProc/BrowseRefsDlg.cpp
b/src/TortoiseProc/BrowseRefsDlg.cpp
index
e7b060e
..
6666a72
100644
(file)
--- a/
src/TortoiseProc/BrowseRefsDlg.cpp
+++ b/
src/TortoiseProc/BrowseRefsDlg.cpp
@@
-195,9
+195,7
@@
void CBrowseRefsDlg::Refresh(CString selectRef)
{
\r
if(selectRef == "HEAD")
\r
{
\r
- selectRef.Empty();
\r
- g_Git.Run(L"git symbolic-ref HEAD",&selectRef,CP_UTF8);
\r
- selectRef.Trim(L"\r\n\t ");
\r
+ selectRef = g_Git.GetSymbolicRef(selectRef, false);
\r
}
\r
}
\r
else
\r