Start splitting out git repo helper routines

This doesn't actually change any code, but it moves the 'is_git_repo()'
function that is used by both loading and saving into a new git-access.c
file.

This is where I'll start doing remote repo syncing too. Knock wood.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Linus Torvalds 2015-01-23 15:40:01 +12:00 committed by Dirk Hohndel
parent 4a146f9e57
commit e287590e4b
4 changed files with 82 additions and 67 deletions

View file

@ -124,6 +124,7 @@ SOURCES = \
equipment.c \
file.c \
gettextfromc.cpp \
git-access.c \
libdivecomputer.c \
liquivision.c \
load-git.c \