0

If I call

git clone --shallow-since 2019-09-20 https://github.com/emacs-mirror/emacs.git

I cannot access commit 56985dd8a6, although it is from 2019-09-21. Git stops at the red line in the following screenshot:

Screnshot of gitk

I don’t understand the algorithm here. While the next commit is of 2019-09-17, so one could assume that it stops when it hits the first too old commit, there was already one of 2019-07-10 before that. So, what are the rules of --shallow-since?

Torsten Bronger
  • 9,899
  • 7
  • 34
  • 41
  • I don't think it's specified anywhere. Grab a clone of the Git repository for Git and find it in the source. – torek Nov 16 '19 at 21:25
  • This always works, yes. But possibly someone has already done that and shares their knowledge. FWIW, I don’t read C. – Torsten Bronger Nov 17 '19 at 08:06

0 Answers0