* [ISSUE] README.md: Insert `--depth 1` for clone instruction
@ 2024-07-23 13:58 vishalpaudel
2024-07-23 14:01 ` classabbyamp
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: vishalpaudel @ 2024-07-23 13:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
New issue by vishalpaudel on void-packages repository
https://github.com/void-linux/void-packages/issues/51400
Description:
<!--
if you are creating a bug report or package request, please fill out one of the forms here:
https://github.com/void-linux/void-packages/issues/new/choose
Don't request an update of a package, We have a script for that:
https://repo-default.voidlinux.org/void-updates/void-updates.txt
However, a quality pull request may help.
-->
`--depth=1` signifies that we only care about the most recent commits, which should be the case for `void-packages`. This should make the `git clone` a little bit faster.
This would also require the user to `git pull --depth 1`. So I would expect this issue to be unimportant and potentially confusing. Nevertheless, raising this issue to learn.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: README.md: Insert `--depth 1` for clone instruction
2024-07-23 13:58 [ISSUE] README.md: Insert `--depth 1` for clone instruction vishalpaudel
@ 2024-07-23 14:01 ` classabbyamp
2024-07-23 14:01 ` classabbyamp
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2024-07-23 14:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 360 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/51400#issuecomment-2245341773
Comment:
that isn't the case for most usage of void-packages, and a [treeless or blobless clone](https://github.blog/open-source/git/get-up-to-speed-with-partial-clone-and-shallow-clone/) would be better than `--depth 1`
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: README.md: Insert `--depth 1` for clone instruction
2024-07-23 13:58 [ISSUE] README.md: Insert `--depth 1` for clone instruction vishalpaudel
2024-07-23 14:01 ` classabbyamp
@ 2024-07-23 14:01 ` classabbyamp
2024-07-23 14:04 ` vishalpaudel
2024-07-23 14:04 ` [ISSUE] [CLOSED] " vishalpaudel
3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2024-07-23 14:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 498 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/51400#issuecomment-2245341773
Comment:
that isn't the case for most usage of void-packages, and a [treeless or blobless clone](https://github.blog/open-source/git/get-up-to-speed-with-partial-clone-and-shallow-clone/) would be better than `--depth 1`. Additionally, users should know enough about git to know they can use `--depth` or other kinds of shallow/partial clones if they want it
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: README.md: Insert `--depth 1` for clone instruction
2024-07-23 13:58 [ISSUE] README.md: Insert `--depth 1` for clone instruction vishalpaudel
2024-07-23 14:01 ` classabbyamp
2024-07-23 14:01 ` classabbyamp
@ 2024-07-23 14:04 ` vishalpaudel
2024-07-23 14:04 ` [ISSUE] [CLOSED] " vishalpaudel
3 siblings, 0 replies; 5+ messages in thread
From: vishalpaudel @ 2024-07-23 14:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 160 bytes --]
New comment by vishalpaudel on void-packages repository
https://github.com/void-linux/void-packages/issues/51400#issuecomment-2245351694
Comment:
makes sense
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ISSUE] [CLOSED] README.md: Insert `--depth 1` for clone instruction
2024-07-23 13:58 [ISSUE] README.md: Insert `--depth 1` for clone instruction vishalpaudel
` (2 preceding siblings ...)
2024-07-23 14:04 ` vishalpaudel
@ 2024-07-23 14:04 ` vishalpaudel
3 siblings, 0 replies; 5+ messages in thread
From: vishalpaudel @ 2024-07-23 14:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 834 bytes --]
Closed issue by vishalpaudel on void-packages repository
https://github.com/void-linux/void-packages/issues/51400
Description:
<!--
if you are creating a bug report or package request, please fill out one of the forms here:
https://github.com/void-linux/void-packages/issues/new/choose
Don't request an update of a package, We have a script for that:
https://repo-default.voidlinux.org/void-updates/void-updates.txt
However, a quality pull request may help.
-->
`--depth=1` signifies that we only care about the most recent commits, which should be the case for `void-packages`. This should make the `git clone` a little bit faster.
This would also require the user to `git pull --depth 1`. So I would expect this issue to be unimportant and potentially confusing. Nevertheless, raising this issue to learn.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-07-23 14:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-23 13:58 [ISSUE] README.md: Insert `--depth 1` for clone instruction vishalpaudel
2024-07-23 14:01 ` classabbyamp
2024-07-23 14:01 ` classabbyamp
2024-07-23 14:04 ` vishalpaudel
2024-07-23 14:04 ` [ISSUE] [CLOSED] " vishalpaudel
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 NNTP newsgroup(s).