Re:This needs some heavy checking... (line 1029)
by harrylepotter on Wednesday February 09, 2022 @04:07PM
(#30278487)
Hate to break it to you, but December 1991 was 30 years ago.
[ Parent
| on HN ]
Re:This needs some heavy checking... (line 1029)
by sli on Wednesday February 09, 2022 @04:13PM
(#30278555)
That's the original date on the file, but the comment being discussed (and much of the code in that function, it seems) was from 17 years ago. See the git-blame:
https://github.com/torvalds/linux/blame/f4bc5bbb5fef3cf421ba...
Re:This needs some heavy checking... (line 1029)
by pfarrell on Wednesday February 09, 2022 @04:22PM
(#30278673)
See the text of the comment: "12/12/91". The `git blame` is likely due to not having imported the previous history as commits when the original import to the git repo happened. I worked at a company that moved from VSS to TFS for a ~10 year code base. It took months for the consultants to get the import to preserve the history. Too bad this didn't happen in this repo.
edit: Found this [0]
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it.
Let it rip!
0: https://github.com/torvalds/linux/commit/1da177e4c3f41524e88...
Re:This needs some heavy checking... (line 1029)
by onedognight on Wednesday February 09, 2022 @04:45PM
(#30278977)
Linus was in the middle of designing git when he wrote this. I think we can cut him some slack.
Re:This needs some heavy checking... (line 1029)
by ajsfoux234 on Wednesday February 09, 2022 @04:15PM
(#30278590)
That commit seems to include all the code written before 2005. The commit message notes that it doesn't bother including the full history.
Re:This needs some heavy checking... (line 1029)
by gowld on Wednesday February 09, 2022 @04:21PM
(#30278655)
The comment says 12/12/91
Re:This needs some heavy checking... (line 1029)
by quickthrower2 on Wednesday February 09, 2022 @04:22PM
(#30278664)
Ha ha. Yeah Linus worked on Linux before Git unfortunately. Or fortunately maybe (because the world needed Linux before it needed git)
Re:This needs some heavy checking... (line 1029)
by mark-r on Wednesday February 09, 2022 @04:12PM
(#30278549)
Thanks for making me feel old.
Re:This needs some heavy checking... (line 1029)
by the_svd_doctor on Wednesday February 09, 2022 @04:13PM
(#30278571)
Yes but git-blame shows 17 years ago.
Re:This needs some heavy checking... (line 1029)
by quickthrower2 on Wednesday February 09, 2022 @04:23PM
(#30278690)
Git was released 7 April 2005, I imagine it existed and was used before v1.0 release, so 17 years checks out. It is git's age, not the code.
Re:This needs some heavy checking... (line 1029)
by gryfft on Wednesday February 09, 2022 @04:24PM
(#30278703)
Yes, but some of the history has been omitted. [1] Line 1035 includes the signoff "-TYT, 12/1291"
1. https://github.com/torvalds/linux/commit/1da177e4c3f41524e88...