| 640 | } |
| 641 | |
| 642 | void CTGitPath::AppendPathString(const CString& sAppend) |
| 643 | { |
| 644 | EnsureBackslashPathSet(); |
| 645 | CString cleanAppend(sAppend); |
| 646 | cleanAppend.Replace(L'/', L'\\'); |
| 647 | cleanAppend.TrimLeft(L'\\'); |
| 648 | m_sBackslashPath.TrimRight(L'\\'); |
| 649 | CString strCopy = m_sBackslashPath; |
| 650 | strCopy += L'\\'; |
| 651 | strCopy += cleanAppend; |
| 652 | SetFromWin(strCopy); |
| 653 | } |
| 654 | |
| 655 | bool CTGitPath::IsWCRoot() const |
| 656 | { |