Thread with 12 posts

jump to expanded post

a thing that really irks me about git: the ā€œauthor dateā€ in commits. imho, if you make non-trivial changes to a commit when amending it, you should update that date; and if you squash several commits together, you should use the date of the latest one. neither is the default…

Open thread at this post

git commit --amend defaults to not changing the author date. that’s reasonable for minor changes, but in an environment where people work with commits rather than branches (e.g. Gerrit), this means commit dates that are days, weeks or months earlier than most of the changes…

Open thread at this post
Richard Stephens , @richardstephens@hachyderm.io
(open profile)

@saagar @hikari where I’m coming from is that there’s often a trade off between ā€œclean history with messy intermediate states discardedā€ and ā€œall intermediate states kept but history is an unintelligible messā€. I think it would be neat if we could have tools that would only surface a clean curated view of history by default but also had the more detailed view available in the rare case it’s needed.

Open remote post (opens in a new window)