From aaf9ef343b4abafc4ecb2e4a517b334842fd96fc Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Fri, 21 Aug 2020 16:01:11 +0300 Subject: [PATCH 01/11] git-info: fix indentation, remove comment --- bin/git-info | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/git-info b/bin/git-info index 2fdee71..bfc3934 100755 --- a/bin/git-info +++ b/bin/git-info @@ -21,12 +21,10 @@ remote_urls() { } echon() { - echo "$@" - echo + echo "$@" + echo } -# Show info similar to svn - echo echon "## Remote URLs:" echon "$(remote_urls)" From 87cff6d5cbf75bc7de95899b7f6d73f4b532ec02 Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Fri, 21 Aug 2020 16:10:06 +0300 Subject: [PATCH 02/11] git-info: add info about submodules --- bin/git-info | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bin/git-info b/bin/git-info index bfc3934..88d6a2d 100755 --- a/bin/git-info +++ b/bin/git-info @@ -8,6 +8,11 @@ most_recent_commit() { git log --max-count=1 --pretty=short } +submodules() { + # short sha1 + git submodule status | sed 's/\([^abcdef0-9]\{,2\}\)\([abcdef0-9]\{7\}\)\([abcdef0-9]\{33\}\)\(.*\)/\1\2\4/' +} + local_branches() { git branch } @@ -35,6 +40,12 @@ echon "$(remote_branches)" echon "## Local Branches:" echon "$(local_branches)" +SUBMODULES_LOG=$(submodules) +if [ ! -z "$SUBMODULES_LOG" ]; then + echon "## Submodule(s):" + echon "$SUBMODULES_LOG" +fi + echon "## Most Recent Commit:" echon "$(most_recent_commit)" echon "Type 'git log' for more commits, or 'git show ' for full commit details." From e7270b36675b1f3d337ca4984fb33c61fc7f69e6 Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Fri, 21 Aug 2020 16:14:54 +0300 Subject: [PATCH 03/11] git-info: remove notes about git-log, git-show auxiliary message distracting from the main message --- bin/git-info | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/git-info b/bin/git-info index 88d6a2d..11241c8 100755 --- a/bin/git-info +++ b/bin/git-info @@ -48,7 +48,6 @@ fi echon "## Most Recent Commit:" echon "$(most_recent_commit)" -echon "Type 'git log' for more commits, or 'git show ' for full commit details." if test "$1" != "--no-config"; then echon "## Configuration (.git/config):" From af06d49c337da34ba2a46ebe3b702e32ffdb743c Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Fri, 21 Aug 2020 16:33:58 +0300 Subject: [PATCH 04/11] git-info: extend configuration and commit information add ability to customize git-config, git-log commands from .gitconfig file --- bin/git-info | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/bin/git-info b/bin/git-info index 11241c8..dc256eb 100755 --- a/bin/git-info +++ b/bin/git-info @@ -1,11 +1,21 @@ #!/usr/bin/env bash get_config() { - git config --list + cmd_get_config="$(git config --get-all extras.info.config-grep)" + if [ -z "$cmd_get_config" ]; then + git config --list + else + eval "$cmd_get_config" + fi } most_recent_commit() { - git log --max-count=1 --pretty=short + cmd_get_log="$(git config --get-all extras.info.log)" + if [ -z "$cmd_get_log" ]; then + git log --max-count=1 --pretty=short + else + eval "$cmd_get_log" + fi } submodules() { From c92f03d303fc3db1c1e77f4bd0bab6a210379222 Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Fri, 21 Aug 2020 16:58:47 +0300 Subject: [PATCH 05/11] git-info: colorized headers --- bin/git-info | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/bin/git-info b/bin/git-info index dc256eb..b450cec 100755 --- a/bin/git-info +++ b/bin/git-info @@ -40,26 +40,35 @@ echon() { echo } +GREEN="$(tput setaf 2)" +NORMAL="$(tput sgr0)" +if [ "$1" = "--color" ] || [ "$2" = "--color" ] || \ + [ "$1" = "-c" ] || [ "$2" = "-c" ] ; then + COLOR_TITLE="$GREEN" +else + COLOR_TITLE="$NORMAL" +fi + echo -echon "## Remote URLs:" +echon "${COLOR_TITLE}## Remote URLs:${NORMAL}" echon "$(remote_urls)" -echon "## Remote Branches:" +echon "${COLOR_TITLE}## Remote Branches:${NORMAL}" echon "$(remote_branches)" -echon "## Local Branches:" +echon "${COLOR_TITLE}## Local Branches:${NORMAL}" echon "$(local_branches)" SUBMODULES_LOG=$(submodules) if [ ! -z "$SUBMODULES_LOG" ]; then - echon "## Submodule(s):" + echon "${COLOR_TITLE}## Submodule(s):${NORMAL}" echon "$SUBMODULES_LOG" fi -echon "## Most Recent Commit:" +echon "${COLOR_TITLE}## Most Recent Commit:${NORMAL}" echon "$(most_recent_commit)" -if test "$1" != "--no-config"; then - echon "## Configuration (.git/config):" +if [ "$1" != "--no-config" ] && [ "$2" != "--no-config" ]; then + echon "${COLOR_TITLE}## Configuration (.git/config):${NORMAL}" echon "$(get_config)" fi From b4b81e290e569f1cb793603c5d684c4f6c996076 Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Fri, 21 Aug 2020 17:08:35 +0300 Subject: [PATCH 06/11] Add bash completion for git-info --- etc/bash_completion.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/bash_completion.sh b/etc/bash_completion.sh index 18daeb2..0c6cb00 100644 --- a/etc/bash_completion.sh +++ b/etc/bash_completion.sh @@ -143,6 +143,10 @@ _git_undo(){ __gitcomp "--hard --soft -h -s" } +_git_info(){ + __gitcomp "--color -c --no-config" +} + _git_browse(){ __git_complete_remote_or_refspec } From ec417833ee1801a7ffeddae7bafb03401e678e99 Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Fri, 21 Aug 2020 17:51:19 +0300 Subject: [PATCH 07/11] doc: add description for git-info --- Commands.md | 9 +++++++-- man/git-info.md | 46 ++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 47 insertions(+), 8 deletions(-) diff --git a/Commands.md b/Commands.md index 2aec3ac..7055544 100644 --- a/Commands.md +++ b/Commands.md @@ -750,6 +750,13 @@ $ git info myBranch * master + ## Submodule(s): + + a234567 path2submodule1/submodule1 (branch/tag) + + b234567 path2submodule2/submodule2 (branch/tag) + - c234567 path2submodule3/submodule3 (branch/tag) + e234567 path2submodule4/submodule4 (branch/tag) + ## Most Recent Commit: commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7 @@ -757,8 +764,6 @@ $ git info Added git-info command. - Type 'git log' for more commits, or 'git show ' for full commit details. - ## Configuration (.git/config): color.diff=auto diff --git a/man/git-info.md b/man/git-info.md index bce8cda..ddec0d2 100644 --- a/man/git-info.md +++ b/man/git-info.md @@ -3,7 +3,7 @@ git-info(1) -- Returns information on current repository ## SYNOPSIS -`git-info` +`git-info` [-c|--color] [--no-config] ## DESCRIPTION @@ -12,12 +12,41 @@ Shows the following information about a repository: 1. Remote Url(s) 2. Remote Branches 3. Local Branches - 4. Most recent commit - 5. Configuration Info + 4. Submodule(s) (if present) + 5. Most recent commit + 6. Configuration Info ## OPTIONS -N/A + -c, --color + + Use color output. + + --no-config + + Don't show list all variables set in config file, along with their values. + +## GIT CONFIGS + + You could customize the Most recent commit and Configuration Info format via git config options + + $ git config --global --add extras.info.log "" + + the default is "git log --max-count=1 --pretty=short" + + $ git config --global --add extras.info.config-grep "" + + the default is "git config --list" + + For example, + + to set global configuration to show last commit subject, without sha1 + + $ git config --global --add extras.info.log "git log --max-count=1 --format=\"Author: %an%nDate: %ad (%ar)%n%n %s\" --date=format:\"%Y-%m-%d %a %H:%M\"" + + to set global configuration to show user's name and email + + $ git config --global --add extras.info.config-grep "git config --list | grep --color=never -E \"^user.name|^user.email\"" ## EXAMPLES @@ -40,6 +69,13 @@ Outputs info about a repo: myBranch * master + ## Submodule(s): + + a234567 path2submodule1/submodule1 (branch/tag) + + b234567 path2submodule2/submodule2 (branch/tag) + - c234567 path2submodule3/submodule3 (branch/tag) + e234567 path2submodule4/submodule4 (branch/tag) + ## Most Recent Commit: commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7 @@ -47,8 +83,6 @@ Outputs info about a repo: Added git-info command. - Type 'git log' for more commits, or 'git show ' for full commit details. - ## Configuration (.git/config): color.diff=auto From 9ee5d06469b926229d5db4d4770a191902f98ee1 Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Fri, 21 Aug 2020 18:59:32 +0300 Subject: [PATCH 08/11] doc: update derived git-info files --- man/git-info.1 | 87 +++++++++++++++++++++++++++++++++++++++++++---- man/git-info.html | 51 +++++++++++++++++++++++---- 2 files changed, 126 insertions(+), 12 deletions(-) diff --git a/man/git-info.1 b/man/git-info.1 index 703ba53..b48a635 100644 --- a/man/git-info.1 +++ b/man/git-info.1 @@ -1,13 +1,13 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "GIT\-INFO" "1" "October 2017" "" "Git Extras" +.TH "GIT\-INFO" "1" "August 2020" "" "Git Extras" . .SH "NAME" \fBgit\-info\fR \- Returns information on current repository . .SH "SYNOPSIS" -\fBgit\-info\fR +\fBgit\-info\fR [\-c|\-\-color] [\-\-no\-config] . .SH "DESCRIPTION" Shows the following information about a repository: @@ -22,15 +22,85 @@ Remote Branches Local Branches . .IP "4." 4 -Most recent commit +Submodule(s) (if present) . .IP "5." 4 +Most recent commit +. +.IP "6." 4 Configuration Info . .IP "" 0 . .SH "OPTIONS" -N/A +\-c, \-\-color +. +.P +Use color output\. +. +.P +\-\-no\-config +. +.P +Don\'t show list all variables set in config file, along with their values\. +. +.SH "GIT CONFIGS" +You could customize the Most recent commit and Configuration Info format via git config options +. +.IP "" 4 +. +.nf + +$ git config \-\-global \-\-add extras\.info\.log "" +. +.fi +. +.IP "" 0 +. +.P +the default \fIlog\-command\fR is "git log \-\-max\-count=1 \-\-pretty=short" +. +.IP "" 4 +. +.nf + +$ git config \-\-global \-\-add extras\.info\.config\-grep "" +. +.fi +. +.IP "" 0 +. +.P +the default \fIconfig\-grep\-command\fR is "git config \-\-list" +. +.P +For example, +. +.P +to set global configuration to show last commit subject, without sha1 +. +.IP "" 4 +. +.nf + + $ git config \-\-global \-\-add extras\.info\.log "git log \-\-max\-count=1 \-\-format=\e"Author: %an%nDate: %ad (%ar)%n%n %s\e" \-\-date=format:\e"%Y\-%m\-%d %a %H:%M\e"" +. +.fi +. +.IP "" 0 +. +.P +to set global configuration to show user\'s name and email +. +.IP "" 4 +. +.nf + + $ git config \-\-global \-\-add extras\.info\.config\-grep "git config \-\-list | grep \-\-color=never \-E \e"^user\.name|^user\.email\e"" +. +.fi +. +.IP "" 0 . .SH "EXAMPLES" Outputs info about a repo: @@ -56,6 +126,13 @@ origin/myBranch myBranch * master +## Submodule(s): + + a234567 path2submodule1/submodule1 (branch/tag) ++ b234567 path2submodule2/submodule2 (branch/tag) +\- c234567 path2submodule3/submodule3 (branch/tag) + e234567 path2submodule4/submodule4 (branch/tag) + ## Most Recent Commit: commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7 @@ -63,8 +140,6 @@ Author: Sample Author Added git\-info command\. -Type \'git log\' for more commits, or \'git show \' for full commit details\. - ## Configuration (\.git/config): color\.diff=auto diff --git a/man/git-info.html b/man/git-info.html index 63df727..e550c34 100644 --- a/man/git-info.html +++ b/man/git-info.html @@ -57,6 +57,7 @@ SYNOPSIS DESCRIPTION OPTIONS + GIT CONFIGS EXAMPLES AUTHOR REPORTING BUGS @@ -76,7 +77,7 @@

SYNOPSIS

-

git-info

+

git-info [-c|--color] [--no-config]

DESCRIPTION

@@ -86,6 +87,7 @@
  • Remote Url(s)
  • Remote Branches
  • Local Branches
  • +
  • Submodule(s) (if present)
  • Most recent commit
  • Configuration Info
  • @@ -93,7 +95,39 @@

    OPTIONS

    -

    N/A

    +

    -c, --color

    + +

    Use color output.

    + +

    --no-config

    + +

    Don't show list all variables set in config file, along with their values.

    + +

    GIT CONFIGS

    + +

    You could customize the Most recent commit and Configuration Info format via git config options

    + +
    $ git config --global --add extras.info.log "<log-command>"
    +
    + +

    the default log-command is "git log --max-count=1 --pretty=short"

    + +
    $ git config --global --add extras.info.config-grep "<config-grep-command>"
    +
    + +

    the default config-grep-command is "git config --list"

    + +

    For example,

    + +

    to set global configuration to show last commit subject, without sha1

    + +
     $ git config --global --add extras.info.log "git log --max-count=1 --format=\"Author: %an%nDate:   %ad (%ar)%n%n    %s\" --date=format:\"%Y-%m-%d %a %H:%M\""
    +
    + +

    to set global configuration to show user's name and email

    + +
     $ git config --global --add extras.info.config-grep "git config --list | grep --color=never -E \"^user.name|^user.email\""
    +

    EXAMPLES

    @@ -116,6 +150,13 @@ origin/myBranch myBranch * master +## Submodule(s): + + a234567 path2submodule1/submodule1 (branch/tag) ++ b234567 path2submodule2/submodule2 (branch/tag) +- c234567 path2submodule3/submodule3 (branch/tag) + e234567 path2submodule4/submodule4 (branch/tag) + ## Most Recent Commit: commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7 @@ -123,8 +164,6 @@ Author: Sample Author <sampleAuthor@gmail.com> Added git-info command. -Type 'git log' for more commits, or 'git show <commit id>' for full commit details. - ## Configuration (.git/config): color.diff=auto @@ -145,7 +184,7 @@ branch.master.merge=refs/heads/master

    AUTHOR

    -

    Written by Leila Muhtasib <muhtasib@gmail.com>

    +

    Written by Leila Muhtasib <muhtasib@gmail.com>

    REPORTING BUGS

    @@ -158,7 +197,7 @@ branch.master.merge=refs/heads/master
    1. -
    2. October 2017
    3. +
    4. August 2020
    5. git-info(1)
    From c52ba59d100a2410c6543bc3ec3c7c3d09558d19 Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Mon, 24 Aug 2020 10:48:50 +0300 Subject: [PATCH 09/11] git-info: fix namespace should use 'git-extra' name to configure via git config options. --- bin/git-info | 4 ++-- man/git-info.1 | 8 ++++---- man/git-info.html | 10 +++++----- man/git-info.md | 8 ++++---- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bin/git-info b/bin/git-info index b450cec..7a70f59 100755 --- a/bin/git-info +++ b/bin/git-info @@ -1,7 +1,7 @@ #!/usr/bin/env bash get_config() { - cmd_get_config="$(git config --get-all extras.info.config-grep)" + cmd_get_config="$(git config --get-all git-extras.info.config-grep)" if [ -z "$cmd_get_config" ]; then git config --list else @@ -10,7 +10,7 @@ get_config() { } most_recent_commit() { - cmd_get_log="$(git config --get-all extras.info.log)" + cmd_get_log="$(git config --get-all git-extras.info.log)" if [ -z "$cmd_get_log" ]; then git log --max-count=1 --pretty=short else diff --git a/man/git-info.1 b/man/git-info.1 index b48a635..a845ec6 100644 --- a/man/git-info.1 +++ b/man/git-info.1 @@ -51,7 +51,7 @@ You could customize the Most recent commit and Configuration Info format via git . .nf -$ git config \-\-global \-\-add extras\.info\.log "" +$ git config \-\-global \-\-add git\-extras\.info\.log "" . .fi . @@ -64,7 +64,7 @@ the default \fIlog\-command\fR is "git log \-\-max\-count=1 \-\-pretty=short" . .nf -$ git config \-\-global \-\-add extras\.info\.config\-grep "" +$ git config \-\-global \-\-add git\-extras\.info\.config\-grep "" . .fi . @@ -83,7 +83,7 @@ to set global configuration to show last commit subject, without sha1 . .nf - $ git config \-\-global \-\-add extras\.info\.log "git log \-\-max\-count=1 \-\-format=\e"Author: %an%nDate: %ad (%ar)%n%n %s\e" \-\-date=format:\e"%Y\-%m\-%d %a %H:%M\e"" + $ git config \-\-global \-\-add git\-extras\.info\.log "git log \-\-max\-count=1 \-\-format=\e"Author: %an%nDate: %ad (%ar)%n%n %s\e" \-\-date=format:\e"%Y\-%m\-%d %a %H:%M\e"" . .fi . @@ -96,7 +96,7 @@ to set global configuration to show user\'s name and email . .nf - $ git config \-\-global \-\-add extras\.info\.config\-grep "git config \-\-list | grep \-\-color=never \-E \e"^user\.name|^user\.email\e"" + $ git config \-\-global \-\-add git\-extras\.info\.config\-grep "git config \-\-list | grep \-\-color=never \-E \e"^user\.name|^user\.email\e"" . .fi . diff --git a/man/git-info.html b/man/git-info.html index e550c34..acbb97f 100644 --- a/man/git-info.html +++ b/man/git-info.html @@ -107,12 +107,12 @@

    You could customize the Most recent commit and Configuration Info format via git config options

    -
    $ git config --global --add extras.info.log "<log-command>"
    +
    $ git config --global --add git-extras.info.log "<log-command>"
     

    the default log-command is "git log --max-count=1 --pretty=short"

    -
    $ git config --global --add extras.info.config-grep "<config-grep-command>"
    +
    $ git config --global --add git-extras.info.config-grep "<config-grep-command>"
     

    the default config-grep-command is "git config --list"

    @@ -121,12 +121,12 @@

    to set global configuration to show last commit subject, without sha1

    -
     $ git config --global --add extras.info.log "git log --max-count=1 --format=\"Author: %an%nDate:   %ad (%ar)%n%n    %s\" --date=format:\"%Y-%m-%d %a %H:%M\""
    +
     $ git config --global --add git-extras.info.log "git log --max-count=1 --format=\"Author: %an%nDate:   %ad (%ar)%n%n    %s\" --date=format:\"%Y-%m-%d %a %H:%M\""
     

    to set global configuration to show user's name and email

    -
     $ git config --global --add extras.info.config-grep "git config --list | grep --color=never -E \"^user.name|^user.email\""
    +
     $ git config --global --add git-extras.info.config-grep "git config --list | grep --color=never -E \"^user.name|^user.email\""
     

    EXAMPLES

    @@ -184,7 +184,7 @@ branch.master.merge=refs/heads/master

    AUTHOR

    -

    Written by Leila Muhtasib <muhtasib@gmail.com>

    +

    Written by Leila Muhtasib <muhtasib@gmail.com>

    REPORTING BUGS

    diff --git a/man/git-info.md b/man/git-info.md index ddec0d2..581e21a 100644 --- a/man/git-info.md +++ b/man/git-info.md @@ -30,11 +30,11 @@ Shows the following information about a repository: You could customize the Most recent commit and Configuration Info format via git config options - $ git config --global --add extras.info.log "" + $ git config --global --add git-extras.info.log "" the default is "git log --max-count=1 --pretty=short" - $ git config --global --add extras.info.config-grep "" + $ git config --global --add git-extras.info.config-grep "" the default is "git config --list" @@ -42,11 +42,11 @@ Shows the following information about a repository: to set global configuration to show last commit subject, without sha1 - $ git config --global --add extras.info.log "git log --max-count=1 --format=\"Author: %an%nDate: %ad (%ar)%n%n %s\" --date=format:\"%Y-%m-%d %a %H:%M\"" + $ git config --global --add git-extras.info.log "git log --max-count=1 --format=\"Author: %an%nDate: %ad (%ar)%n%n %s\" --date=format:\"%Y-%m-%d %a %H:%M\"" to set global configuration to show user's name and email - $ git config --global --add extras.info.config-grep "git config --list | grep --color=never -E \"^user.name|^user.email\"" + $ git config --global --add git-extras.info.config-grep "git config --list | grep --color=never -E \"^user.name|^user.email\"" ## EXAMPLES From 8e519e3e66e897e9eae5faae9101c0f27cde97ae Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Mon, 24 Aug 2020 11:09:27 +0300 Subject: [PATCH 10/11] git-info: moved argument checking --- bin/git-info | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/bin/git-info b/bin/git-info index 7a70f59..86bb4f9 100755 --- a/bin/git-info +++ b/bin/git-info @@ -1,5 +1,19 @@ #!/usr/bin/env bash +GREEN="$(tput setaf 2)" +NORMAL="$(tput sgr0)" +if [ "$1" = "--color" ] || [ "$2" = "--color" ] || \ + [ "$1" = "-c" ] || [ "$2" = "-c" ] ; then + COLOR_TITLE="$GREEN" +else + COLOR_TITLE="$NORMAL" +fi + +HIDE_CONFIG= +if [ "$1" != "--no-config" ] && [ "$2" != "--no-config" ]; then + HIDE_CONFIG=1 +fi + get_config() { cmd_get_config="$(git config --get-all git-extras.info.config-grep)" if [ -z "$cmd_get_config" ]; then @@ -40,15 +54,6 @@ echon() { echo } -GREEN="$(tput setaf 2)" -NORMAL="$(tput sgr0)" -if [ "$1" = "--color" ] || [ "$2" = "--color" ] || \ - [ "$1" = "-c" ] || [ "$2" = "-c" ] ; then - COLOR_TITLE="$GREEN" -else - COLOR_TITLE="$NORMAL" -fi - echo echon "${COLOR_TITLE}## Remote URLs:${NORMAL}" echon "$(remote_urls)" @@ -68,7 +73,7 @@ fi echon "${COLOR_TITLE}## Most Recent Commit:${NORMAL}" echon "$(most_recent_commit)" -if [ "$1" != "--no-config" ] && [ "$2" != "--no-config" ]; then +if [ ! -z "$HIDE_CONFIG" ]; then echon "${COLOR_TITLE}## Configuration (.git/config):${NORMAL}" echon "$(get_config)" fi From e031dc54e9068aebf2323895aaea92bbe0589de0 Mon Sep 17 00:00:00 2001 From: Yuriy VG Date: Mon, 24 Aug 2020 11:29:48 +0300 Subject: [PATCH 11/11] doc: fix argument description --- man/git-info.1 | 2 +- man/git-info.html | 4 ++-- man/git-info.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/git-info.1 b/man/git-info.1 index a845ec6..4b4805f 100644 --- a/man/git-info.1 +++ b/man/git-info.1 @@ -36,7 +36,7 @@ Configuration Info \-c, \-\-color . .P -Use color output\. +Use color for information titles\. . .P \-\-no\-config diff --git a/man/git-info.html b/man/git-info.html index acbb97f..097db48 100644 --- a/man/git-info.html +++ b/man/git-info.html @@ -97,7 +97,7 @@

    -c, --color

    -

    Use color output.

    +

    Use color for information titles.

    --no-config

    @@ -184,7 +184,7 @@ branch.master.merge=refs/heads/master

    AUTHOR

    -

    Written by Leila Muhtasib <muhtasib@gmail.com>

    +

    Written by Leila Muhtasib <muhtasib@gmail.com>

    REPORTING BUGS

    diff --git a/man/git-info.md b/man/git-info.md index 581e21a..ed04734 100644 --- a/man/git-info.md +++ b/man/git-info.md @@ -20,7 +20,7 @@ Shows the following information about a repository: -c, --color - Use color output. + Use color for information titles. --no-config