Hi, I want to phrase the git to json to be read by other program,the   
--pretty=tformat could exact almost all the data I want, but except the 
change lines get from  --shortstat

git log --shortstat --date=short --no-merges --pretty=tformat:'{%n  
"commit": "%H",%n  "author_name": "%aN",%n  "author_email": "%aE",%n  
"author_date": "%ad"%n  "commiter_date": "%cd"%n  "subject": "%s",%n  
"body": "%b",%n}'

there seems no way to catch the --shortstat output to phrase except I 
output full gitlog and phrase raw txt

Any Idea that I could use git command itself to make a formated output 
with --shortstat  data in json k :v ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/ceb5be77-a77a-4541-abeb-966c385fb846n%40googlegroups.com.

Reply via email to