diff options
author | Russell Belfer <rb@github.com> | 2013-08-29 10:27:01 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-08-29 10:27:01 -0700 |
commit | 4218183631faa48f97e76a23e928d1a98983be46 (patch) | |
tree | 301d394c2da62437d1db052b48f7aa4536973de4 /tests-clar/diff/submodules.c | |
parent | 8b2f230cd519010d202c57185dc4dc39ca3d53f8 (diff) | |
download | libgit2-4218183631faa48f97e76a23e928d1a98983be46.tar.gz |
Treat detached HEAD as non-empty repo
This simplifies the git_repository_is_empty a bit so that a
detached HEAD is just taken to mean the repo is not empty, since
a newly initialized repo will not have a detached HEAD.
Diffstat (limited to 'tests-clar/diff/submodules.c')
0 files changed, 0 insertions, 0 deletions