mirror of
https://github.com/arzzen/git-quick-stats.git
synced 2026-09-15 01:56:19 -04:00
Removed GPG info from JSON and updated README pics
* The GPG settings don't play well with OS X if you don't have certain tools installed, so they were removed from the git log format settings for the JSON output. * Pictures have been updated to reflect the new menu option.
This commit is contained in:
parent
5f71b785ac
commit
5f0bc1c7cf
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
> Any git repository contains tons of information about commits, contributors, and files. Extracting this information is not always trivial, mostly because of a gadzillion options to a gadzillion git commands – I don’t think there is a single person alive who knows them all. Probably not even [Linus Torvalds](https://github.com/torvalds) himself :).
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Table of Contents
|
||||
|
|
@ -35,9 +35,9 @@
|
|||
|
||||
## Screenshots
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Usage
|
||||
|
|
@ -124,7 +124,7 @@ You can change to the legacy color scheme by toggling the variable `_MENU_THEME`
|
|||
```bash
|
||||
export _MENU_THEME=legacy
|
||||
```
|
||||

|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
|
|
|
|||
|
|
@ -319,7 +319,7 @@ function suggestReviewers() {
|
|||
function jsonOutput() {
|
||||
optionPicked "Output log saved to file at: ${json_path:?}/output.json"
|
||||
git -c log.showSignature=false log --use-mailmap --no-merges $_since $_until \
|
||||
--pretty=format:'{%n "commit": "%H",%n "abbreviated_commit": "%h",%n "tree": "%T",%n "abbreviated_tree": "%t",%n "parent": "%P",%n "abbreviated_parent": "%p",%n "refs": "%D",%n "encoding": "%e",%n "subject": "%s",%n "sanitized_subject_line": "%f",%n "body": "%b",%n "commit_notes": "%N",%n "verification_flag": "%G?",%n "signer": "%GS",%n "signer_key": "%GK",%n "author": {%n "name": "%aN",%n "email": "%aE",%n "date": "%aD"%n },%n "commiter": {%n "name": "%cN",%n "email": "%cE",%n "date": "%cD"%n }%n},' \
|
||||
--pretty=format:'{%n "commit": "%H",%n "abbreviated_commit": "%h",%n "tree": "%T",%n "abbreviated_tree": "%t",%n "parent": "%P",%n "abbreviated_parent": "%p",%n "refs": "%D",%n "encoding": "%e",%n "subject": "%s",%n "sanitized_subject_line": "%f",%n "body": "%b",%n "commit_notes": "%N",%n "author": {%n "name": "%aN",%n "email": "%aE",%n "date": "%aD"%n },%n "commiter": {%n "name": "%cN",%n "email": "%cE",%n "date": "%cD"%n }%n},' \
|
||||
| sed "$ s/,$//" \
|
||||
| sed ':a;N;$!ba;s/\r\n\([^{]\)/\\n\1/g' \
|
||||
| awk 'BEGIN { print("[") } { print($0) } END { print("]") }' \
|
||||
|
|
|
|||
Loading…
Reference in a new issue