Skip to content

Commit c6a39e8

Browse files
committed
Fixed the missing newline after the graph, and restored the before/ahead makers on --status
1 parent 830248b commit c6a39e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/python/codal_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,12 @@ def printstatus( logLines = 3 ):
9494
print( f"Branch: {branch}, Nearest Tag: {tag} ({hash})" )
9595
system( f"git --no-pager log -n {logLines} --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" )
9696
#system(f"git --no-pager log -n {logLines} --pretty=oneline")
97-
system("git status -s")
97+
print( "" )
98+
system("git status -sb")
9899
print( "" )
99100

100101

101-
def status( logLines = 5 ):
102+
def status( logLines = 3 ):
102103
(codal, targetdir, target) = read_config()
103104
dirname = os.getcwd()
104105
for ln in target['libraries']:

0 commit comments

Comments
 (0)