gitalong.enums module

class CommitSpread(value)[source]

Bases: enum.IntFlag

A combinable enumerator to represent where the commit spreads across branches and clones.

MINE_UNCOMITTED

Commit represent our local uncommitted changes.

Type

int

MINE_ACTIVE_BRANCH

Commit is on our local active branch.

Type

int

MINE_OTHER_BRANCH

Commit is in one ore more of our other local branches.

Type

int

REMOTE_MATCHING_BRANCH

Commit is on matching remote branch.

Type

int

REMOTE_OTHER_BRANCH

Commit is on other remote branch.

Type

int

THEIR_OTHER_BRANCH

Commit is on someone else’s clone non-matching branch.

Type

int

THEIR_MATCHING_BRANCH

Commit is on someone else’s clone matching branch.

Type

int

THEIR_UNCOMMITED

Commit is on someone else’s clone uncommitted changes.

Type

int

MINE_UNCOMMITTED = 1
MINE_ACTIVE_BRANCH = 2
MINE_OTHER_BRANCH = 4
REMOTE_MATCHING_BRANCH = 8
REMOTE_OTHER_BRANCH = 16
THEIR_OTHER_BRANCH = 32
THEIR_MATCHING_BRANCH = 64
THEIR_UNCOMMITTED = 128