add a blank line when a commit has no parent in log output?
- From
Jason Pyeron <jpyeron@pdinc.us>
- Date
- Jan 14, 2021, 18:30 UTC
- Message-ID
- <191201d6eaa3$4b585fa0$e2091ee0$@pdinc.us>
Take this git log --format="%C(auto) %h% ad%d% s%C(green)% aE" --graph --date=short
| | | * 5505e019c2 2014-07-09 initial xxxxxx@xxxx | | | * 3e658f4085 2019-09-10 (wiki/wip-citest, origin/wip-citest) Added defau | | | * ad148aafe6 2019-09-10 Added default CI/CD Jenkinsfile (from f7daf088)
One might assume 5505e019c2 and 3e658f4085 are related. But git cat-file -p 5505e019c2 tree 546c6b71f01e7fd086c8adb832518240b71a9075 author sam swindell <xxxxxx@xxxx> 1404878701 -0400 committer sam swindell <xxxxxx@xxxx> 1404878701 -0400
initial
Is there a way to have it look like:
| | | * 5505e019c2 2014-07-09 initial xxxxxx@xxxx | | | | | | * 3e658f4085 2019-09-10 (wiki/wip-citest, origin/wip-citest) Added defau | | | * ad148aafe6 2019-09-10 Added default CI/CD Jenkinsfile (from f7daf088)
Or
| | | # 5505e019c2 2014-07-09 initial xxxxxx@xxxx | | | * 3e658f4085 2019-09-10 (wiki/wip-citest, origin/wip-citest) Added defau | | | * ad148aafe6 2019-09-10 Added default CI/CD Jenkinsfile (from f7daf088)
Respectfully,
Jason Pyeron
-- Jason Pyeron | Architect PD Inc | 10 w 24th St | Baltimore, MD | .mil: jason.j.pyeron.ctr... .com: jpyeron@pdinc.us tel : 202-741-9397