kgl and git shallow issue
Borislav Petkov <[email protected]>
| Newsgroups | org.kernel.linux.tools |
|---|---|
| Message-ID | <20260520203544.GAag4bILhFL9wSQpxY@fat_crate.local> |
Hi,
as discussed on IRC:
$ kgl pull
Updating feeds [------------------------------------] 0/1 https://lore.kernel.org/lkmlwarning: Failed to update lkml: Git fetch failed (exit 128): fatal: error processing shallow info: 4
Updating feeds [####################################] 1/1
Pull complete with no updates.
because the repo has been fetched from longer than 1w ago.
Raising the --since does the proper thing:
git --git-dir /home/boris/.local/share/korgalore/lkml/git/18.git fetch origin --shallow-since=1.month.ago --update-shallow
remote: Enumerating objects: 66197, done.
remote: Counting objects: 100% (66197/66197), done.
remote: Compressing objects: 100% (42640/42640), done.
remote: Total 66195 (delta 1533), reused 66029 (delta 1490), pack-reused 0 (from 0)
Receiving objects: 100% (66195/66195), 107.70 MiB | 741.00 KiB/s, done.
Resolving deltas: 100% (1533/1533), done.
From https://lore.kernel.org/lkml/git/18
+ 971bb3a5d326...4cfd85f2eacf master -> master (forced update)
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette