From: martin f. krafft Date: Thu, 25 Oct 2007 20:41:12 +0000 (+0200) Subject: Refactor checking for (type of) Git repository X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/c20b454a225407e5c6b918cbb6e739b888b252ab?ds=sidebyside;hp=c20b454a225407e5c6b918cbb6e739b888b252ab Refactor checking for (type of) Git repository lib now has two new functions: is_git_repo returns 0/true if its argument is a git repository get_git_repo_type return 0/true if its argument is a git repository and prints one of non-bare/bare/fake-bare to stdout The mr function implementations now use these functions and have been simplified. We also allow bare repositories with limited functionality. ---