mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
7e632173e0
We have this nasty habit of randomly passing down all the different things that we use to look up the local and remote git repository, and the information associated with it. Start collecting the data into a 'struct git_info' instead, so that it is easier to manage, and easier and more logical to just look up different parts of the puzzle. This is a fairly mechanical conversion, but has moved all the basic information collection to the 'is_git_repository()' function. That function no longer actually opens the repository (so the 'dry_run' argument is gone, and instead a successful 'is_git_repository()' is followed by 'opn_git_repository()' if you actually want the old non-dry_run semantics. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
3rdparty | ||
qml | ||
CMakeLists.txt | ||
qmlinterface.cpp | ||
qmlinterface.h | ||
qmlmanager.cpp | ||
qmlmanager.h | ||
statsmanager.cpp | ||
statsmanager.h | ||
themeinterface.cpp | ||
themeinterface.h |