public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* Git 2.48. Changed behavior of the git fetch
@ 2025-01-09 11:49 Danila Manturov
  2025-01-12  8:07 ` Bence Ferdinandy
  0 siblings, 1 reply; 8+ messages in thread
From: Danila Manturov @ 2025-01-09 11:49 UTC (permalink / raw)
  To: git

Hello. I work in TeamCity and we have tests of our git integration
running with the latest master of the git repository. Some tests
started to fail since
https://github.com/git/git/commit/5f212684abb66c9604e745a2296af8c4bb99961c
I noticed that tags are not fetched with shallow clones. I published
the test repository to GitHub and reproduced it with commands, the
result is different for 2.47.1 and 2.48.rc0

git init
git remote add origin git@github•com:manturovDan/repo_for_shallow_fetch.git
git fetch --progress --depth=1 --recurse-submodules=no origin
+fd1eb9776b5fad5cc433586f7933811c6853917d:refs/remotes/origin/main
git tag | cat

RESULT:
tag1 (git version 2.47.1)
<empty> (git version 2.48.0.rc0.38.gff795a5c5e)

the repository log:
* commit fd1eb9776b5fad5cc433586f7933811c6853917d (tag: tag1, main)
| Author: Victory Petrenko <vbedrosova@gmail•com>
| Date:   Wed Feb 3 13:05:03 2021 +0100
|
|     recent commit
|
* commit 64195c330d99c467a142f682bc23d4de3a68551d
| Author: Victory Petrenko <vbedrosova@gmail•com>
| Date:   Wed Feb 3 13:04:44 2021 +0100
|
|     change
|
* commit a1d6299597f8d6f6d8316577c46cc8fffd657d5e (tag: tag2)
  Author: Victory Petrenko <vbedrosova@gmail•com>
  Date:   Wed Feb 3 13:04:17 2021 +0100

      initial commit

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-01-27 16:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09 11:49 Git 2.48. Changed behavior of the git fetch Danila Manturov
2025-01-12  8:07 ` Bence Ferdinandy
     [not found]   ` <CAM6buW6NbdZ6wLGP6LWePiA7n0At=jxxqtBEUv0fTY6mOdTmyw@mail.gmail.com>
     [not found]     ` <D705W1554XJ9.30SRYLNGNOX4@ferdinandy.com>
     [not found]       ` <CAM6buW77CeuKfr3b4SUbYyFaU1OTvRsYBjPBE05YMzJo36bGdw@mail.gmail.com>
     [not found]         ` <D706LPHBPUL4.3LN27T1UG1FI2@ferdinandy.com>
2025-01-13 14:14           ` Danila Manturov
2025-01-13 16:02             ` Bence Ferdinandy
2025-01-21 17:26               ` Danila Manturov
2025-01-26 23:35                 ` Bence Ferdinandy
2025-01-27 11:48                   ` Danila Manturov
2025-01-27 16:36                   ` Bence Ferdinandy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox