Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ for that repo to `true`. (See "usage" below for an example).

# Usage

Usage: mgitstatus [--version] [-w] [-e] [-f] [--throttle SEC] [-c] [-d/--depth=2] [--no-depth] [--flatten] [--no-X] [DIR [DIR]...]
Usage: mgitstatus [--version] [-w] [-e] [-f] [--throttle SEC] [-c] [-d/--depth 2] [--no-depth] [--flatten] [--no-X] [DIR [DIR]...]

mgitstatus shows uncommitted, untracked and unpushed changes in multiple Git
repositories. By default, mgitstatus scans two directories deep. This can be
Expand All @@ -46,7 +46,7 @@ for that repo to `true`. (See "usage" below for an example).
-f Do a 'git fetch' on each repo (slow for many repos)
--throttle SEC Wait SEC seconds between each 'git fetch' (-f option)
-c Force color output (preserve colors when using pipes)
-d, --depth=2 Scan this many directories deep
-d, --depth 2 Scan this many directories deep
--no-depth Do not recurse into directories (incompatible with -d)
--flatten Show only one status per line

Expand Down
4 changes: 2 additions & 2 deletions mgitstatus
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DEBUG=${MG_DEBUG:-0}
usage () {
cat << EOF >&2

Usage: $0 [--version] [-w] [-e] [-f] [--throttle SEC] [-c] [-d/--depth=2] [--flatten] [--no-X] [DIR [DIR]...]
Usage: $0 [--version] [-w] [-e] [-f] [--throttle SEC] [-c] [-d/--depth 2] [--flatten] [--no-X] [DIR [DIR]...]

mgitstatus shows uncommitted, untracked and unpushed changes in multiple Git
repositories. By default, mgitstatus scans two directories deep. This can be
Expand All @@ -17,7 +17,7 @@ deep.

-b Show currently checked out branch
-c Force color output (preserve colors when using pipes)
-d, --depth=2 Scan this many directories deep
-d, --depth 2 Scan this many directories deep
-e Exclude repos that are 'ok'
-f Do a 'git fetch' on each repo (slow for many repos)
-h, --help Show this help message
Expand Down
4 changes: 2 additions & 2 deletions mgitstatus.1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ multiple Git repos.
.PP
\f[B]mgitstatus\f[R] [\f[B]\-\-version\f[R]] [\f[B]\-w\f[R]]
[\f[B]\-e\f[R]] [\f[B]\-f\f[R]] [\f[B]\-\-throttle\f[R] SEC]
[\f[B]\-c\f[R]] [\f[B]\-d/\-\-depth\f[R]=2] [\f[B]\-\-flatten\f[R]]
[\f[B]\-c\f[R]] [\f[B]\-d/\-\-depth\f[R] 2] [\f[B]\-\-flatten\f[R]]
[\f[B]\-\-no\-X\f[R]] [\f[B]DIR\f[R] [\f[B]DIR\f[R]]\&...]
.SH DESCRIPTION
.PP
Expand Down Expand Up @@ -66,7 +66,7 @@ Wait SEC seconds between each `git fetch' (\-f option)
.B \f[B]\-c\f[R]
Force color output (preserve colors when using pipes)
.TP
.B \f[B]\-d, \-\-depth=2\f[R]
.B \f[B]\-d, \-\-depth 2\f[R]
Scan this many directories deep.
Default is 2.
If \f[B]0\f[R], the scan is infinitely deep
Expand Down
4 changes: 2 additions & 2 deletions mgitstatus.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mgitstatus - Show uncommitted, untracked and unpushed changes for multiple Git r

# SYNOPSIS

**mgitstatus** [**\--version**] [**-w**] [**-e**] [**-f**] [**\--throttle** SEC] [**\-c**] [**-d/\--depth**=2] [**\--flatten**] [**\--no-X**] [**DIR** [**DIR**]...]
**mgitstatus** [**\--version**] [**-w**] [**-e**] [**-f**] [**\--throttle** SEC] [**\-c**] [**-d/\--depth** 2] [**\--flatten**] [**\--no-X**] [**DIR** [**DIR**]...]

# DESCRIPTION

Expand Down Expand Up @@ -61,7 +61,7 @@ mgitstatus makes no guarantees that all states are taken into account.
**-c**
: Force color output (preserve colors when using pipes)

**-d, \--depth=2**
**-d, \--depth 2**
: Scan this many directories deep. Default is 2. If **0**, the scan is infinitely deep

**\--no-depth**
Expand Down