coding style - use 4 spaces for intendation and a space before keywords
This commit is contained in:
@@ -194,7 +194,7 @@ PyDoc_STRVAR(
|
||||
PyObject *
|
||||
Repository_head_is_detached(Repository *self)
|
||||
{
|
||||
if(git_repository_head_detached(self->repo) > 0)
|
||||
if (git_repository_head_detached(self->repo) > 0)
|
||||
Py_RETURN_TRUE;
|
||||
|
||||
Py_RETURN_FALSE;
|
||||
@@ -210,7 +210,7 @@ PyDoc_STRVAR(
|
||||
PyObject *
|
||||
Repository_head_is_orphaned(Repository *self)
|
||||
{
|
||||
if(git_repository_head_orphan(self->repo) > 0)
|
||||
if (git_repository_head_orphan(self->repo) > 0)
|
||||
Py_RETURN_TRUE;
|
||||
|
||||
Py_RETURN_FALSE;
|
||||
@@ -225,7 +225,7 @@ PyDoc_STRVAR(
|
||||
PyObject *
|
||||
Repository_is_empty(Repository *self)
|
||||
{
|
||||
if(git_repository_is_empty(self->repo) > 0)
|
||||
if (git_repository_is_empty(self->repo) > 0)
|
||||
Py_RETURN_TRUE;
|
||||
|
||||
Py_RETURN_FALSE;
|
||||
@@ -240,7 +240,7 @@ PyDoc_STRVAR(
|
||||
PyObject *
|
||||
Repository_is_bare(Repository *self)
|
||||
{
|
||||
if(git_repository_is_bare(self->repo) > 0)
|
||||
if (git_repository_is_bare(self->repo) > 0)
|
||||
Py_RETURN_TRUE;
|
||||
|
||||
Py_RETURN_FALSE;
|
||||
|
Reference in New Issue
Block a user