subsurface/mobile-widgets
Linus Torvalds 96337dbbcf git access: rename 'check_git_sha()' function
That function name was incomprehensible.  What did it check? And what
did the return value mean?

So let's rename it to something that actually describes what it does,
and reverse the meaning of the return value while at it.

So now it's called 'remote_repo_uptodate()', and it returns true if the
remote repository branch has the same value as our 'saved_git_id'.

It's still a bit obscure, but at least within the context of the only
user, the code now makes _more_ sense than it used to:

        if (remote_repo_uptodate(fileNamePrt.data(), &info)) {
                appendTextToLog("Cloud sync shows local cache was current");

but maybe we could come up with even better semantics and naming, and
make it even clearer.

Requested-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-04-22 08:28:17 -07:00
..
3rdparty mobile/UI: correctly update title bar font size 2021-01-19 12:42:48 -08:00
qml core: replace dive master by dive guide 2022-02-15 09:35:43 -08:00
CMakeLists.txt statistics: add a skeleton StatsManager class 2021-01-10 15:16:52 -08:00
qmlinterface.cpp mobile/summary: remove dive summary calculation 2020-02-08 10:29:36 -08:00
qmlinterface.h mobile/summary: remove dive summary calculation 2020-02-08 10:29:36 -08:00
qmlmanager.cpp git access: rename 'check_git_sha()' function 2022-04-22 08:28:17 -07:00
qmlmanager.h core: replace dive master by dive guide 2022-02-15 09:35:43 -08:00
statsmanager.cpp statistics: switch themes on the mobile version 2022-03-16 15:26:54 -07:00
statsmanager.h statistics: switch themes on the mobile version 2022-03-16 15:26:54 -07:00
themeinterface.cpp cleanup: replace function static variable by member variable 2022-03-16 15:26:54 -07:00
themeinterface.h cleanup: replace function static variable by member variable 2022-03-16 15:26:54 -07:00