* [PATCH v2 1/2] Documentation: remove --prune from pack-refs examples
@ 2013-07-18 16:53 Jonathon Mah
2013-07-18 16:53 ` [PATCH v2 2/2] Documentation: fix git-prune example usage Jonathon Mah
2013-07-18 18:07 ` [PATCH v2 1/2] Documentation: remove --prune from pack-refs examples Junio C Hamano
0 siblings, 2 replies; 3+ messages in thread
From: Jonathon Mah @ 2013-07-18 16:53 UTC (permalink / raw)
To: git@vger.kernel.org
The option has been the default for a while, and doesn't otherwise
appear in the page.
Signed-off-by: Jonathon Mah <me@JonathonMah.com>
---
Forgot sign-off in v1. Also, I was unsure whether to rewrap the lines (and if so, to how many columns); erred on the side of minimal changes.
Documentation/git-pack-refs.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-pack-refs.txt b/Documentation/git-pack-refs.txt
index f131677..154081f 100644
--- a/Documentation/git-pack-refs.txt
+++ b/Documentation/git-pack-refs.txt
@@ -33,8 +33,8 @@ Subsequent updates to branches always create new files under
`$GIT_DIR/refs` directory hierarchy.
A recommended practice to deal with a repository with too many
-refs is to pack its refs with `--all --prune` once, and
-occasionally run `git pack-refs --prune`. Tags are by
+refs is to pack its refs with `--all` once, and
+occasionally run `git pack-refs`. Tags are by
definition stationary and are not expected to change. Branch
heads will be packed with the initial `pack-refs --all`, but
only the currently active branch heads will become unpacked,
--
1.8.3.3.754.g9c3c367
Jonathon Mah
me@JonathonMah.com
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 2/2] Documentation: fix git-prune example usage
2013-07-18 16:53 [PATCH v2 1/2] Documentation: remove --prune from pack-refs examples Jonathon Mah
@ 2013-07-18 16:53 ` Jonathon Mah
2013-07-18 18:07 ` [PATCH v2 1/2] Documentation: remove --prune from pack-refs examples Junio C Hamano
1 sibling, 0 replies; 3+ messages in thread
From: Jonathon Mah @ 2013-07-18 16:53 UTC (permalink / raw)
To: git@vger.kernel.org
Signed-off-by: Jonathon Mah <me@JonathonMah.com>
---
Documentation/git-prune.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-prune.txt b/Documentation/git-prune.txt
index 80d01b0..bf82410 100644
--- a/Documentation/git-prune.txt
+++ b/Documentation/git-prune.txt
@@ -59,7 +59,7 @@ borrows from your repository via its
`.git/objects/info/alternates`:
------------
-$ git prune $(cd ../another && $(git rev-parse --all))
+$ git prune $(cd ../another && git rev-parse --all)
------------
Notes
--
1.8.3.3.754.g9c3c367
Jonathon Mah
me@JonathonMah.com
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/2] Documentation: remove --prune from pack-refs examples
2013-07-18 16:53 [PATCH v2 1/2] Documentation: remove --prune from pack-refs examples Jonathon Mah
2013-07-18 16:53 ` [PATCH v2 2/2] Documentation: fix git-prune example usage Jonathon Mah
@ 2013-07-18 18:07 ` Junio C Hamano
1 sibling, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2013-07-18 18:07 UTC (permalink / raw)
To: Jonathon Mah; +Cc: git@vger.kernel.org
Jonathon Mah <me@JonathonMah.com> writes:
> The option has been the default for a while, and doesn't otherwise
> appear in the page.
>
> Signed-off-by: Jonathon Mah <me@JonathonMah.com>
> ---
>
> Forgot sign-off in v1. Also, I was unsure whether to rewrap the
> lines (and if so, to how many columns); erred on the side of
> minimal changes.
Thanks.
> Documentation/git-pack-refs.txt | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/git-pack-refs.txt b/Documentation/git-pack-refs.txt
> index f131677..154081f 100644
> --- a/Documentation/git-pack-refs.txt
> +++ b/Documentation/git-pack-refs.txt
> @@ -33,8 +33,8 @@ Subsequent updates to branches always create new files under
> `$GIT_DIR/refs` directory hierarchy.
>
> A recommended practice to deal with a repository with too many
> -refs is to pack its refs with `--all --prune` once, and
> -occasionally run `git pack-refs --prune`. Tags are by
> +refs is to pack its refs with `--all` once, and
> +occasionally run `git pack-refs`. Tags are by
> definition stationary and are not expected to change. Branch
> heads will be packed with the initial `pack-refs --all`, but
> only the currently active branch heads will become unpacked,
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-18 18:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-18 16:53 [PATCH v2 1/2] Documentation: remove --prune from pack-refs examples Jonathon Mah
2013-07-18 16:53 ` [PATCH v2 2/2] Documentation: fix git-prune example usage Jonathon Mah
2013-07-18 18:07 ` [PATCH v2 1/2] Documentation: remove --prune from pack-refs examples Junio C Hamano
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).