git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rationale behind git not tracking history of branches
@ 2020-05-26 21:01 Kevin Buchs
  2020-05-27  2:50 ` Jonathan Nieder
  2020-05-27 16:10 ` Randall S. Becker
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin Buchs @ 2020-05-26 21:01 UTC (permalink / raw)
  To: git

For many years of using Git, I always struggled to make sense of
commit history graphs (git log --graph; gitk). Just recently I
discovered that git does not track the history of branches to which
commits belonged and the lightbulb turned on. This is proving to be
painful in a project I inherited with permanent multiple branches.
Now, I am a bit curious as to the rationale behind this intentional
decision not to track branch history. Is it entirely a matter of
keeping branches lightweight?

I am assuming one can backfill for the missing capability by using a
commit hook to manually track when a branch head is changed. Perhaps
by storing the branch in the commit notes.

Kevin Buchs, Senior Engineer, New Context Services
kevin.buchs@newcontext.com  507-251-7463  St. Cloud, MN

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

end of thread, other threads:[~2020-05-27 19:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 21:01 rationale behind git not tracking history of branches Kevin Buchs
2020-05-27  2:50 ` Jonathan Nieder
2020-05-27 16:24   ` Kevin Buchs
2020-05-27 19:31     ` Michal Suchánek
2020-05-27 16:10 ` Randall S. Becker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).