git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Should branches be objects?
@ 2014-06-19 21:37 Nico Williams
  2014-06-19 23:46 ` Jonathan Nieder
  0 siblings, 1 reply; 6+ messages in thread
From: Nico Williams @ 2014-06-19 21:37 UTC (permalink / raw)
  To: git

[I'm a list newbie here, but a git power user.]

If branches were objects...

 - one could see the history of branches, including

 - how commits were grouped when pushed/pulled (push 5 commits, and
the branch object will record that its head moved by those five
commits at once)

 - rebase history (git log <branch-object> -> better than git reflog!)

 - object transactional APIs would be used to update branches

Branch objects might be purely local, recording what was done in a
local repo to a branch, but they might be pullable, to make branch
history viewable in clones.

Just a thought,

Nico
--

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

end of thread, other threads:[~2014-06-20  2:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-19 21:37 Should branches be objects? Nico Williams
2014-06-19 23:46 ` Jonathan Nieder
2014-06-20  0:25   ` Nico Williams
2014-06-20  0:31     ` Nico Williams
2014-06-20  1:01     ` Jonathan Nieder
2014-06-20  2:27       ` Jeff King

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).