From: Mike Hommey Date: Tue, 18 Nov 2014 03:14:06 GMT Subject: Re: Getting a commit sha1 from fast-import in a remote-helper Message-ID: <20141118031406.GB15358@glandium.org> In-Reply-To: <20141118025359.GI4336@google.com> On Mon, Nov 17, 2014 at 06:53:59PM -0800, Jonathan Nieder wrote: > Mike Hommey wrote: > > > BTW, if it so happens that all the operations that were done end up > > creating objects that already existed for some reason, checkpoint > > doesn't do anything, which is fine for the pack and tags, but not > > necessarily so for export-marks. > > Does something like this help? I'm not sure about branches and tags, as they would mostly be noops, but dump_marks definitely needs to happen. I did try to move dump_marks out of the if already, and that did what I wanted. Mike