#include <git.h>
Public Types | |
enum | BoolOption { optFalse, optSaveCache, optGoDown, optOnlyLoaded, optDragDrop, optFold, optOnlyInIndex, optCreate } |
enum | RefType { TAG = 1, BRANCH = 2, RMT_BRANCH = 4, CUR_BRANCH = 8, REF = 16, APPLIED = 32, UN_APPLIED = 64, ANY_REF = 127 } |
Public Slots | |
void | on_procDataReady (const QByteArray &) |
void | on_eof () |
Signals | |
void | newRevsAdded (const FileHistory *, const QValueVector< QString > &) |
void | loadCompleted (const FileHistory *, const QString &) |
void | cancelLoading (const FileHistory *) |
void | cancelAllProcesses () |
void | annotateReady (Annotate *, const QString &, bool, const QString &) |
Public Member Functions | |
Git (QWidget *parent) | |
void | checkEnvironment () |
void | userInfo (SList info) |
const QString | getBaseDir (bool *c, SCRef wd, bool *ok=NULL, QString *gd=NULL) |
bool | init (SCRef workDir, bool askForRange, QStringList *filterList, bool *quit) |
bool | stop (bool saveCache) |
void | setThrowOnStop (bool b) |
bool | isThrowOnStopRaised (int excpId, SCRef curContext) |
void | setLane (SCRef sha, FileHistory *fh) |
Annotate * | startAnnotate (FileHistory *fh, QObject *guiObj) |
const FileAnnotation * | lookupAnnotation (Annotate *ann, SCRef fileName, SCRef sha) |
void | cancelAnnotate (Annotate *ann) |
bool | startFileHistory (FileHistory *fh) |
void | cancelDataLoading (const FileHistory *fh) |
void | cancelProcess (MyProcess *p) |
bool | isCommittingMerge () const |
bool | isStGITStack () const |
bool | isPatchName (SCRef nm) |
bool | isSameFiles (SCRef tree1Sha, SCRef tree2Sha) |
bool | isBinaryFile (SCRef file) |
bool | isNothingToCommit () |
bool | isUnknownFiles () const |
bool | isTextHighlighter () const |
bool | isMainHistory (const FileHistory *fh) |
MyProcess * | getDiff (SCRef sha, QObject *receiver, SCRef diffToSha, bool combined) |
MyProcess * | getFile (SCRef file, SCRef revSha, QObject *rcv, QByteArray *ro=NULL, QString *fSha=NULL) |
MyProcess * | getHighlightedFile (SCRef file, SCRef revSha, QObject *rcv, QString *ro=NULL) |
bool | saveFile (SCRef fileName, SCRef sha, SCRef path) |
void | getFileFilter (SCRef path, QMap< QString, bool > &shaMap) |
bool | getPatchFilter (SCRef exp, bool isRegExp, QMap< QString, bool > &shaMap) |
const RevFile * | getFiles (SCRef sha, SCRef sha2="", bool all=false, SCRef path="") |
bool | getTree (SCRef ts, SList nm, SList sha, SList type, bool wd, SCRef treePath) |
const QString | getDesc (SCRef sha, QRegExp &shortLogRE, QRegExp &longLogRE, bool showHeader) |
const QString | getDefCommitMsg () |
const QString | getLaneParent (SCRef fromSHA, uint laneNum) |
const QStringList | getChilds (SCRef parent) |
const QStringList | getNearTags (bool goDown, SCRef sha) |
const QStringList | getDescendantBranches (SCRef sha) |
const QString | getShortLog (SCRef sha) |
const QString | getTagMsg (SCRef sha) |
const Rev * | revLookup (SCRef sha, const FileHistory *fh=NULL) const |
uint | checkRef (SCRef sha, uint mask=ANY_REF) const |
const QString | getRevInfo (SCRef sha) |
const QString | getRefSha (SCRef refName, RefType type=ANY_REF, bool askGit=true) |
const QStringList | getRefName (SCRef sha, RefType type, QString *curBranch=NULL) const |
const QStringList | getAllRefNames (uint mask, bool onlyLoaded) |
const QStringList | getAllRefSha (uint mask) |
void | getWorkDirFiles (SList files, SList dirs, RevFile::StatusFlag status) |
QTextCodec * | getTextCodec (bool *isGitArchive) |
bool | formatPatch (SCList shaList, SCRef dirPath, SCRef remoteDir="") |
bool | updateIndex (SCList selFiles) |
bool | commitFiles (SCList files, SCRef msg) |
bool | makeTag (SCRef sha, SCRef tag, SCRef msg) |
bool | deleteTag (SCRef sha) |
bool | applyPatchFile (SCRef patchPath, bool fold, bool sign) |
bool | resetCommits (int parentDepth) |
bool | stgCommit (SCList selFiles, SCRef msg, SCRef patchName, bool fold) |
bool | stgPush (SCRef sha) |
bool | stgPop (SCRef sha) |
void | setTextCodec (QTextCodec *tc) |
void | addExtraFileInfo (QString *rowName, SCRef sha, SCRef diffToSha, bool allMergeFiles) |
void | removeExtraFileInfo (QString *rowName) |
void | formatPatchFileHeader (QString *rowName, SCRef sha, SCRef dts, bool cmb, bool all) |
int | findFileIndex (const RevFile &rf, SCRef name) |
const QString | filePath (const RevFile &rf, uint i) const |
void | setCurContext (Domain *d) |
Domain * | curContext () const |
Static Public Member Functions | |
static const QString | getLocalDate (SCRef gitDate) |
Private Types | |
typedef QMap < QString, Reference > | RefMap |
Private Slots | |
void | loadFileNames () |
void | on_runAsScript_eof () |
void | on_getHighlightedFile_eof () |
void | on_newDataReady (const FileHistory *) |
void | on_loaded (const FileHistory *, ulong, int, bool, const QString &, const QString &) |
Private Member Functions | |
bool | run (SCRef cmd, QString *out=NULL, QObject *rcv=NULL, SCRef buf="", QStringList *env=0) |
bool | run (QByteArray *runOutput, SCRef cmd, QObject *rcv=NULL, SCRef buf="", QStringList *env=0) |
MyProcess * | runAsync (SCRef cmd, QObject *rcv, SCRef buf="", QStringList *env=0) |
MyProcess * | runAsScript (SCRef cmd, QObject *rcv=NULL, SCRef buf="", QStringList *env=0) |
bool | allProcessDeleted () |
const QStringList | getArgs (bool askForRange, bool *quit) |
bool | getRefs () |
void | parseStGitPatches (SCList patchNames, SCList patchShas) |
void | clearRevs () |
void | clearFileNames () |
bool | startRevList (SCList args, FileHistory *fh) |
bool | startUnappliedList () |
bool | startParseProc (SCList initCmd, FileHistory *fh) |
int | addChunk (FileHistory *fh, const QByteArray &ba, int ofs) |
void | parseDiffFormat (RevFile &rf, SCRef buf) |
void | parseDiffFormatLine (RevFile &rf, SCRef line, int parNum) |
void | getDiffIndex () |
const QString | getFileSha (SCRef file, SCRef revSha) |
const Rev * | fakeWorkDirRev (SCRef parent, SCRef log, SCRef longLog, int idx, FileHistory *fh) |
const RevFile * | fakeWorkDirRevFile (const WorkingDirInfo &wd) |
bool | copyDiffIndex (FileHistory *fh, SCRef parent) |
const RevFile * | insertNewFiles (SCRef sha, SCRef data) |
const RevFile * | getAllMergeFiles (const Rev *r) |
bool | isParentOf (SCRef par, SCRef child) |
bool | isTreeModified (SCRef sha) |
void | indexTree () |
void | annotateExited (Annotate *ann) |
void | updateDescMap (const Rev *r, uint i, QMap< QPair< uint, uint >, bool > &dm, QMap< uint, QValueVector< int > > &dv) |
void | mergeNearTags (bool down, Rev *p, const Rev *r, const QMap< QPair< uint, uint >, bool > &dm) |
void | mergeBranches (Rev *p, const Rev *r) |
void | updateLanes (Rev &c, Lanes &lns, SCRef sha) |
bool | mkPatchFromIndex (SCRef msg, SCRef patchFile) |
const QStringList | getOthersFiles () |
const QStringList | getOtherFiles (SCList selFiles, bool onlyInIndex) |
void | appendFileName (RevFile &rf, SCRef name) |
void | populateFileNamesMap () |
void | removeDeleted (SCList selFiles) |
void | setStatus (RevFile &rf, SCRef rowSt) |
void | setExtStatus (RevFile &rf, SCRef rowSt, int parNum) |
void | appendNamesWithId (QStringList &names, SCRef sha, SCList data, bool onlyLoaded) |
Reference * | lookupReference (SCRef sha, bool create=false) |
EM_DECLARE (exGitStopped) | |
Static Private Member Functions | |
static void | removeFiles (SCList selFiles, SCRef workDir, SCRef ext) |
static void | restoreFiles (SCList selFiles, SCRef workDir, SCRef ext) |
static const QString | colorMatch (SCRef txt, QRegExp ®Exp) |
static const QString | quote (SCRef nm) |
static const QString | quote (SCList sl) |
static const QStringList | noSpaceSepHack (SCRef cmd) |
Private Attributes | |
RefMap | refsShaMap |
WorkingDirInfo | _wd |
Domain * | curDomain |
QString | workDir |
QString | gitDir |
QString | filesLoadingPending |
QString | filesLoadingCurSha |
QString | curRange |
bool | cacheNeedsUpdate |
bool | errorReportingEnabled |
bool | isMergeHead |
bool | isStGIT |
bool | isGIT |
bool | isTextHighlighterFound |
bool | loadingUnAppliedPatches |
bool | fileCacheAccessed |
int | patchesStillToFind |
QString | firstNonStGitPatch |
RevFileMap | revsFiles |
StrVect | fileNamesVec |
StrVect | dirNamesVec |
QMap< QString, int > | fileNamesMap |
QMap< QString, int > | dirNamesMap |
FileHistory | revData |
Friends | |
class | Annotate |
class | MainImpl |
class | DataLoader |
class | ConsoleImpl |
class | RevsView |
Classes | |
struct | Reference |
struct | WorkingDirInfo |
Definition at line 36 of file git.h.
enum BoolOption |
enum RefType |
void checkEnvironment | ( | ) |
void userInfo | ( | SList | info | ) |
const QString getBaseDir | ( | bool * | c, | |
SCRef | wd, | |||
bool * | ok = NULL , |
|||
QString * | gd = NULL | |||
) |
bool init | ( | SCRef | workDir, | |
bool | askForRange, | |||
QStringList * | filterList, | |||
bool * | quit | |||
) |
bool stop | ( | bool | saveCache | ) |
Definition at line 490 of file git_startup.cpp.
Referenced by MainImpl::closeEvent(), and MainImpl::setRepository().
void setThrowOnStop | ( | bool | b | ) |
bool isThrowOnStopRaised | ( | int | excpId, | |
SCRef | curContext | |||
) |
void setLane | ( | SCRef | sha, | |
FileHistory * | fh | |||
) |
Annotate * startAnnotate | ( | FileHistory * | fh, | |
QObject * | guiObj | |||
) |
const FileAnnotation * lookupAnnotation | ( | Annotate * | ann, | |
SCRef | fileName, | |||
SCRef | sha | |||
) |
void cancelAnnotate | ( | Annotate * | ann | ) |
bool startFileHistory | ( | FileHistory * | fh | ) |
void cancelDataLoading | ( | const FileHistory * | fh | ) |
void cancelProcess | ( | MyProcess * | p | ) |
Definition at line 515 of file git.cpp.
Referenced by FileContent::clearText(), DataLoader::on_cancel(), ConsoleImpl::pushButtonStop_clicked(), PatchView::updatePatch(), and PatchView::~PatchView().
bool isCommittingMerge | ( | ) | const [inline] |
bool isStGITStack | ( | ) | const [inline] |
Definition at line 78 of file git.h.
Referenced by MainImpl::askApplyPatchParameters(), CommitImpl::checkConfirm(), CommitImpl::CommitImpl(), CommitImpl::pushButtonOk_clicked(), CommitImpl::pushButtonUpdateCache_clicked(), and MainImpl::setRepository().
bool isPatchName | ( | SCRef | nm | ) |
bool isBinaryFile | ( | SCRef | file | ) |
bool isNothingToCommit | ( | ) |
Definition at line 774 of file git.cpp.
Referenced by getDiffIndex(), MainImpl::on_newRevsAdded(), and MainImpl::updateContextActions().
bool isUnknownFiles | ( | ) | const [inline] |
bool isTextHighlighter | ( | ) | const [inline] |
Definition at line 84 of file git.h.
Referenced by getHighlightedFile(), FileContent::setHighlightSource(), and FileView::updateEnabledButtons().
bool isMainHistory | ( | const FileHistory * | fh | ) | [inline] |
Definition at line 85 of file git.h.
Referenced by addChunk(), ListView::clear(), ListView::getSha(), ListView::ListView(), RevsView::on_loadCompleted(), on_loaded(), MainImpl::on_newRevsAdded(), ListViewItem::paintCell(), ListViewItem::setupData(), ListView::setupListView(), startRevList(), ListView::update(), and ListView::updateIdValues().
MyProcess * getFile | ( | SCRef | file, | |
SCRef | revSha, | |||
QObject * | rcv, | |||
QByteArray * | ro = NULL , |
|||
QString * | fSha = NULL | |||
) |
Definition at line 626 of file git.cpp.
Referenced by MainImpl::getExternalDiffArgs(), saveFile(), Annotate::setInitialAnnotation(), and FileContent::update().
Definition at line 691 of file git.cpp.
Referenced by MainImpl::ActSaveFile_activated(), and getHighlightedFile().
void getFileFilter | ( | SCRef | path, | |
QMap< QString, bool > & | shaMap | |||
) |
bool getPatchFilter | ( | SCRef | exp, | |
bool | isRegExp, | |||
QMap< QString, bool > & | shaMap | |||
) |
Definition at line 1013 of file git.cpp.
Referenced by addExtraFileInfo(), ListViewItem::changedFiles(), commitFiles(), CommitImpl::CommitImpl(), copyDiffIndex(), RevsView::doUpdate(), PatchView::doUpdate(), getOtherFiles(), getWorkDirFiles(), isTreeModified(), loadFileNames(), and removeDeleted().
const QString getLocalDate | ( | SCRef | gitDate | ) | [static] |
const QString getDesc | ( | SCRef | sha, | |
QRegExp & | shortLogRE, | |||
QRegExp & | longLogRE, | |||
bool | showHeader | |||
) |
Definition at line 909 of file git.cpp.
Referenced by RevsView::on_updateRevDesc(), and PatchView::on_updateRevDesc().
const QString getDefCommitMsg | ( | ) |
const QString getLaneParent | ( | SCRef | fromSHA, | |
uint | laneNum | |||
) |
const QStringList getChilds | ( | SCRef | parent | ) |
Definition at line 565 of file git.cpp.
Referenced by getDesc(), and ListView::getLaneParentsChilds().
const QStringList getNearTags | ( | bool | goDown, | |
SCRef | sha | |||
) |
const QStringList getDescendantBranches | ( | SCRef | sha | ) |
const QString getShortLog | ( | SCRef | sha | ) |
Definition at line 588 of file git.cpp.
Referenced by PatchView::doUpdate(), and RevsView::on_lanesContextMenuRequested().
const QString getTagMsg | ( | SCRef | sha | ) |
const Rev * revLookup | ( | SCRef | sha, | |
const FileHistory * | fh = NULL | |||
) | const |
Definition at line 461 of file git.cpp.
Referenced by addChunk(), appendNamesWithId(), Annotate::computeRanges(), copyDiffIndex(), Annotate::doAnnotate(), getChilds(), getDefCommitMsg(), getDesc(), getDescendantBranches(), MainImpl::getExternalDiffArgs(), getFiles(), getLaneParent(), ListView::getLaneParentsChilds(), ListViewItem::getLaneType(), getNearTags(), getShortLog(), indexTree(), Annotate::isDescendant(), isParentOf(), loadFileNames(), mergeBranches(), mergeNearTags(), ListViewItem::paintCell(), MainImpl::passFilter(), Domain::populateState(), setLane(), MainImpl::updateContextActions(), updateDescMap(), and PatchView::updatePatch().
uint checkRef | ( | SCRef | sha, | |
uint | mask = ANY_REF | |||
) | const |
Definition at line 204 of file git.cpp.
Referenced by MainImpl::ActPush_activated(), getRefName(), getRevInfo(), getTagMsg(), indexTree(), mergeBranches(), mergeNearTags(), ListViewItem::paintTagMarks(), RangeSelectImpl::RangeSelectImpl(), and MainImpl::updateContextActions().
const QString getRevInfo | ( | SCRef | sha | ) |
Definition at line 325 of file git.cpp.
Referenced by RevsView::doUpdate(), and FileView::doUpdate().
Definition at line 247 of file git.cpp.
Referenced by MainImpl::ActTag_activated(), getDefCommitMsg(), getDesc(), isPatchName(), PatchView::on_buttonGroupDiff_clicked(), MainImpl::on_goRef_activated(), and RangeSelectImpl::RangeSelectImpl().
Definition at line 210 of file git.cpp.
Referenced by ListViewItem::addBranchPixmap(), deleteTag(), getRevInfo(), ListViewItem::paintTagMarks(), stgPop(), and stgPush().
const QStringList getAllRefNames | ( | uint | mask, | |
bool | onlyLoaded | |||
) |
const QStringList getAllRefSha | ( | uint | mask | ) |
Definition at line 238 of file git.cpp.
Referenced by Annotate::getAncestor(), getDefCommitMsg(), init(), startRevList(), and startUnappliedList().
void getWorkDirFiles | ( | SList | files, | |
SList | dirs, | |||
RevFile::StatusFlag | status | |||
) |
Definition at line 750 of file git.cpp.
Referenced by getFileSha(), getTree(), and TreeView::setTree().
QTextCodec * getTextCodec | ( | bool * | isGitArchive | ) |
Definition at line 1137 of file git.cpp.
Referenced by MainImpl::ActMailFormatPatch_activated(), and RevsView::on_droppedRevisions().
bool updateIndex | ( | SCList | selFiles | ) |
Definition at line 1174 of file git.cpp.
Referenced by commitFiles(), CommitImpl::pushButtonUpdateCache_clicked(), and stgCommit().
bool deleteTag | ( | SCRef | sha | ) |
bool applyPatchFile | ( | SCRef | patchPath, | |
bool | fold, | |||
bool | sign | |||
) |
Definition at line 1116 of file git.cpp.
Referenced by MainImpl::ActMailApplyPatch_activated(), and RevsView::on_droppedRevisions().
bool resetCommits | ( | int | parentDepth | ) |
Definition at line 1109 of file git.cpp.
Referenced by MainImpl::ActMailApplyPatch_activated(), and RevsView::on_droppedRevisions().
Definition at line 1301 of file git.cpp.
Referenced by CommitImpl::pushButtonOk_clicked(), and CommitImpl::pushButtonUpdateCache_clicked().
bool stgPush | ( | SCRef | sha | ) |
bool stgPop | ( | SCRef | sha | ) |
void setTextCodec | ( | QTextCodec * | tc | ) |
Definition at line 388 of file git.cpp.
Referenced by formatPatchFileHeader(), and ListBoxFiles::update().
void removeExtraFileInfo | ( | QString * | rowName | ) |
Definition at line 405 of file git.cpp.
Referenced by ListBoxFiles::on_currentChanged(), and ListBoxFiles::update().
Definition at line 521 of file git.cpp.
Referenced by addExtraFileInfo(), commitFiles(), copyDiffIndex(), fakeWorkDirRevFile(), and removeDeleted().
const QString filePath | ( | const RevFile & | rf, | |
uint | i | |||
) | const [inline] |
Definition at line 127 of file git.h.
Referenced by CommitImpl::CommitImpl(), fakeWorkDirRevFile(), getFileFilter(), getOtherFiles(), getWorkDirFiles(), and ListBoxFiles::insertFiles().
void setCurContext | ( | Domain * | d | ) | [inline] |
Domain* curContext | ( | ) | const [inline] |
Definition at line 132 of file git.h.
Referenced by MyProcess::runSync(), MyProcess::setupSignals(), and Domain::update().
void newRevsAdded | ( | const FileHistory * | , | |
const QValueVector< QString > & | ||||
) | [signal] |
Referenced by getDiffIndex(), and on_newDataReady().
void loadCompleted | ( | const FileHistory * | , | |
const QString & | ||||
) | [signal] |
Referenced by on_loaded().
void cancelLoading | ( | const FileHistory * | ) | [signal] |
Referenced by cancelDataLoading(), and startParseProc().
void cancelAllProcesses | ( | ) | [signal] |
Referenced by stop().
void annotateReady | ( | Annotate * | , | |
const QString & | , | |||
bool | , | |||
const QString & | ||||
) | [signal] |
Referenced by annotateExited().
void on_procDataReady | ( | const QByteArray & | fileChunk | ) | [slot] |
Definition at line 875 of file git_startup.cpp.
void loadFileNames | ( | ) | [private, slot] |
void on_runAsScript_eof | ( | ) | [private, slot] |
void on_getHighlightedFile_eof | ( | ) | [private, slot] |
void on_newDataReady | ( | const FileHistory * | fh | ) | [private, slot] |
void on_loaded | ( | const FileHistory * | fh, | |
ulong | byteSize, | |||
int | loadTime, | |||
bool | normalExit, | |||
const QString & | cmd, | |||
const QString & | errorDesc | |||
) | [private, slot] |
bool run | ( | SCRef | cmd, | |
QString * | out = NULL , |
|||
QObject * | rcv = NULL , |
|||
SCRef | buf = "" , |
|||
QStringList * | env = 0 | |||
) | [private] |
Definition at line 467 of file git.cpp.
Referenced by applyPatchFile(), checkEnvironment(), commitFiles(), deleteTag(), formatPatch(), getAllMergeFiles(), getBaseDir(), getDefCommitMsg(), getDiffIndex(), getFile(), getFiles(), getFileSha(), getHighlightedFile(), Annotate::getNextPatch(), getOthersFiles(), getPatchFilter(), getRefs(), getRefSha(), getTagMsg(), getTextCodec(), getTree(), isSameFiles(), makeTag(), mkPatchFromIndex(), DataLoader::on_cancel(), parseStGitPatches(), resetCommits(), setTextCodec(), stgCommit(), stgPop(), stgPush(), updateIndex(), and userInfo().
Definition at line 487 of file git.cpp.
Referenced by DataLoader::doStart(), getDiff(), getFile(), getHighlightedFile(), loadFileNames(), runAsScript(), and ConsoleImpl::start().
const QStringList getArgs | ( | bool | askForRange, | |
bool * | quit | |||
) | [private] |
bool getRefs | ( | ) | [private] |
void clearRevs | ( | ) | [private] |
void clearFileNames | ( | ) | [private] |
bool startRevList | ( | SCList | args, | |
FileHistory * | fh | |||
) | [private] |
bool startUnappliedList | ( | ) | [private] |
bool startParseProc | ( | SCList | initCmd, | |
FileHistory * | fh | |||
) | [private] |
Definition at line 436 of file git_startup.cpp.
Referenced by startRevList(), and startUnappliedList().
int addChunk | ( | FileHistory * | fh, | |
const QByteArray & | ba, | |||
int | ofs | |||
) | [private] |
Definition at line 705 of file git_startup.cpp.
Referenced by DataLoader::addSplittedChunks(), and DataLoader::parseSingleBuffer().
Definition at line 420 of file git_startup.cpp.
Referenced by fakeWorkDirRevFile(), and insertNewFiles().
Definition at line 326 of file git_startup.cpp.
Referenced by on_procDataReady(), and parseDiffFormat().
void getDiffIndex | ( | ) | [private] |
const Rev * fakeWorkDirRev | ( | SCRef | parent, | |
SCRef | log, | |||
SCRef | longLog, | |||
int | idx, | |||
FileHistory * | fh | |||
) | [private] |
const RevFile * fakeWorkDirRevFile | ( | const WorkingDirInfo & | wd | ) | [private] |
bool copyDiffIndex | ( | FileHistory * | fh, | |
SCRef | parent | |||
) | [private] |
bool isTreeModified | ( | SCRef | sha | ) | [private] |
void indexTree | ( | ) | [private] |
void annotateExited | ( | Annotate * | ann | ) | [private] |
void updateDescMap | ( | const Rev * | r, | |
uint | i, | |||
QMap< QPair< uint, uint >, bool > & | dm, | |||
QMap< uint, QValueVector< int > > & | dv | |||
) | [private] |
const QStringList getOthersFiles | ( | ) | [private] |
const QStringList getOtherFiles | ( | SCList | selFiles, | |
bool | onlyInIndex | |||
) | [private] |
const QString colorMatch | ( | SCRef | txt, | |
QRegExp & | regExp | |||
) | [static, private] |
Definition at line 907 of file git_startup.cpp.
Referenced by fakeWorkDirRevFile(), parseDiffFormatLine(), and setExtStatus().
void populateFileNamesMap | ( | ) | [private] |
const QString quote | ( | SCRef | nm | ) | [static, private] |
Definition at line 185 of file git.cpp.
Referenced by applyPatchFile(), commitFiles(), getFile(), getFileSha(), getHighlightedFile(), getOthersFiles(), getPatchFilter(), stgCommit(), stgPop(), stgPush(), and updateIndex().
static const QStringList noSpaceSepHack | ( | SCRef | cmd | ) | [static, private] |
void removeDeleted | ( | SCList | selFiles | ) | [private] |
Git::Reference * lookupReference | ( | SCRef | sha, | |
bool | create = false | |||
) | [private] |
Definition at line 86 of file git_startup.cpp.
Referenced by addChunk(), getRefs(), and parseStGitPatches().
EM_DECLARE | ( | exGitStopped | ) | [private] |
friend class Annotate [friend] |
friend class DataLoader [friend] |
friend class ConsoleImpl [friend] |
RefMap refsShaMap [private] |
Definition at line 171 of file git.h.
Referenced by checkRef(), getAllRefNames(), getAllRefSha(), getDescendantBranches(), getNearTags(), getRefName(), getRefs(), getRefSha(), getTagMsg(), and lookupReference().
WorkingDirInfo _wd [private] |
Definition at line 179 of file git.h.
Referenced by clearRevs(), getDiffIndex(), isNothingToCommit(), isUnknownFiles(), and loadFileNames().
QString workDir [private] |
Definition at line 233 of file git.h.
Referenced by commitFiles(), formatPatch(), getBaseDir(), getHighlightedFile(), getOthersFiles(), init(), on_getHighlightedFile_eof(), on_runAsScript_eof(), removeDeleted(), run(), runAsScript(), runAsync(), startParseProc(), Annotate::startPatchProc(), and stgCommit().
QString gitDir [private] |
Definition at line 234 of file git.h.
Referenced by commitFiles(), getBaseDir(), getRefs(), init(), loadFileNames(), stgCommit(), and stop().
QString filesLoadingPending [private] |
Definition at line 235 of file git.h.
Referenced by loadFileNames(), on_eof(), and on_procDataReady().
QString filesLoadingCurSha [private] |
Definition at line 236 of file git.h.
Referenced by loadFileNames(), on_eof(), on_procDataReady(), and stop().
bool cacheNeedsUpdate [private] |
Definition at line 238 of file git.h.
Referenced by clearFileNames(), getFiles(), Git(), on_procDataReady(), and stop().
bool errorReportingEnabled [private] |
Definition at line 239 of file git.h.
Referenced by checkEnvironment(), getBaseDir(), getRefs(), getRefSha(), Git(), DataLoader::on_cancel(), run(), runAsync(), and userInfo().
bool isMergeHead [private] |
bool isStGIT [private] |
Definition at line 241 of file git.h.
Referenced by addChunk(), applyPatchFile(), getDefCommitMsg(), getRefs(), Git(), init(), and isStGITStack().
bool isGIT [private] |
bool isTextHighlighterFound [private] |
Definition at line 243 of file git.h.
Referenced by checkEnvironment(), Git(), and isTextHighlighter().
bool loadingUnAppliedPatches [private] |
bool fileCacheAccessed [private] |
int patchesStillToFind [private] |
Definition at line 246 of file git.h.
Referenced by addChunk(), clearRevs(), and parseStGitPatches().
QString firstNonStGitPatch [private] |
RevFileMap revsFiles [private] |
Definition at line 248 of file git.h.
Referenced by clearFileNames(), clearRevs(), getAllMergeFiles(), getDiffIndex(), getFileFilter(), getFiles(), Git(), insertNewFiles(), isNothingToCommit(), loadFileNames(), on_procDataReady(), and stop().
StrVect fileNamesVec [private] |
Definition at line 249 of file git.h.
Referenced by appendFileName(), clearFileNames(), filePath(), findFileIndex(), loadFileNames(), populateFileNamesMap(), and stop().
StrVect dirNamesVec [private] |
Definition at line 250 of file git.h.
Referenced by appendFileName(), clearFileNames(), filePath(), findFileIndex(), loadFileNames(), populateFileNamesMap(), and stop().
QMap<QString, int> fileNamesMap [private] |
Definition at line 251 of file git.h.
Referenced by appendFileName(), clearFileNames(), and populateFileNamesMap().
QMap<QString, int> dirNamesMap [private] |
Definition at line 252 of file git.h.
Referenced by appendFileName(), clearFileNames(), and populateFileNamesMap().
FileHistory revData [private] |
Definition at line 253 of file git.h.
Referenced by clearRevs(), getChilds(), getDescendantBranches(), getDiffIndex(), getFileFilter(), getLaneParent(), getNearTags(), getPatchFilter(), indexTree(), init(), isMainHistory(), loadFileNames(), mergeBranches(), mergeNearTags(), revLookup(), RevsView::RevsView(), startUnappliedList(), and updateDescMap().