From: Jonathan Nieder Date: Thu, 19 Jun 2014 23:46:14 GMT Subject: Re: Should branches be objects? Message-ID: <20140619234614.GY8557@google.com> In-Reply-To: Hi, Nico Williams wrote: > - one could see the history of branches, including Interesting. 'git log -g' is good for getting that information locally, but the protocol doesn't have a way to get it from a remote server so you have to ssh in. Ronnie (cc-ed) and I were talking recently about whether it would make sense to update git protocol to have a way to get at the remote reflogs more easily --- would that be useful to you? > - 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) The reflog on the server (if enabled) records this. > - rebase history (git log -> better than git reflog!) The local reflog ('git log -g ') records this. > - object transactional APIs would be used to update branches Ronnie's recent ref-transaction code does this. Thanks and hope that helps, Jonathan