* [PATCH 1/2] Documentation: remove --prune from pack-refs examples
@ 2013-07-18 7:11 Jonathon Mah
2013-07-18 7:12 ` [PATCH 2/2] Documentation: fix git-prune example usage Jonathon Mah
0 siblings, 1 reply; 3+ messages in thread
From: Jonathon Mah @ 2013-07-18 7:11 UTC (permalink / raw)
To: git
The option has been the default for a while, and doesn't otherwise
appear in the page.
---
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 2/2] Documentation: fix git-prune example usage
2013-07-18 7:11 [PATCH 1/2] Documentation: remove --prune from pack-refs examples Jonathon Mah
@ 2013-07-18 7:12 ` Jonathon Mah
2013-07-18 17:55 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Jonathon Mah @ 2013-07-18 7:12 UTC (permalink / raw)
To: git
---
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 2/2] Documentation: fix git-prune example usage
2013-07-18 7:12 ` [PATCH 2/2] Documentation: fix git-prune example usage Jonathon Mah
@ 2013-07-18 17:55 ` Junio C Hamano
0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2013-07-18 17:55 UTC (permalink / raw)
To: Jonathon Mah; +Cc: git
Jonathon Mah <me@JonathonMah.com> writes:
> ---
> Documentation/git-prune.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks. Can we have your sign-off?
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-18 17:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-18 7:11 [PATCH 1/2] Documentation: remove --prune from pack-refs examples Jonathon Mah
2013-07-18 7:12 ` [PATCH 2/2] Documentation: fix git-prune example usage Jonathon Mah
2013-07-18 17:55 ` Junio C Hamano
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.