[DGD] Microsoft & Github (Off Topic)
Raymond Jennings
shentino at gmail.com
Tue Jun 5 04:05:46 CEST 2018
Try debating that topic in #git on irc.freenode.net
On Mon, Jun 4, 2018 at 7:02 PM, Dread Quixadhal <quixadhal at gmail.com> wrote:
> Why can’t checking out a given commit set the file and/or directory involved to the timestamp of the commit? For example, if you browse one of my GitHub repositories, such as https://github.com/quixadhal/fluffos , you will see the timestamps of each file along with each directory (which is the timestamp of the most recent file in it).
>
> When doing a “git clone git at github.com:quixadhal/fluffos.git test”, every single file and directory has the timestamp of the time I did the clone.
>
> There’s no reason for that. The information is there. Maybe this is a client side issue.
>
> And if the people who wrote the git protocol didn’t allow for extensions, they were extremely short-sighted.
>
> Sent from Mail for Windows 10
>
> From: Raymond Jennings
> Sent: Monday, June 4, 2018 18:52
> To: All about DGD and Hydra
> Subject: Re: [DGD] Microsoft & Github (Off Topic)
>
> On Mon, Jun 4, 2018 at 6:04 PM, Dread Quixadhal <quixadhal at gmail.com> wrote:
>> Likely a boon.
>>
>> Not only more money to develop it, but since they’ll use it internally, they’ll fix some of the annoyances it has. The tricky part is extending it in such a way that other git software can just ignore the new features they’ll add. Hopefully the git people thought of that.
>>
>> One feature I’d like is to have it preserve timestamps on both files and directories when cloning or unpacking.
>
> That sounds like something that would require support from the core
> git protocol itself.
>
> For example, do tree objects support timestamps or just an association between
> filename and the sha1 of the associated object?
>
> In a nutshell, a tag points to a commit, and a commit points to its
> parent commits and the tree representing the root directory. Each
> tree object has a mapping between a name and a sha1 hash of the
> associated object. If the object is a file, then it's a blob. If
> it's a directory, then it's a tree.
>
> Only the commit has timestamps associated with it AFAIK.
>
> git has a specific protocol and internal structure. You can't just
> randomly paste extensions onto it without wrecking compatibility.
>>
>> Sent from Mail for Windows 10
>>
>> From: Blain
>> Sent: Monday, June 4, 2018 17:39
>> To: DGD
>> Subject: [DGD] Microsoft & Github (Off Topic)
>>
>> So, Microsoft buying Github. Boon or bane?
>> ____________________________________________
>> https://mail.dworkin.nl/mailman/listinfo/dgd
>>
>> ____________________________________________
>> https://mail.dworkin.nl/mailman/listinfo/dgd
>
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
>
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
More information about the DGD
mailing list