[bind10-dev] Some git suggestions

Michal 'vorner' Vaner michal.vaner at nic.cz
Fri Oct 8 16:57:21 UTC 2010


Hello

On Fri, Oct 08, 2010 at 10:58:52AM -0500, Michael Graff wrote:
> I believe any plan that routinely causes us to rewrite history is a bad
> plan.  Just do the second commit, it's a lot faster and safer.  While I
> can think of cases where the commit message was rude or offensive rather
> than just correct, I also cannot imagine anyone at ISC doing such.

Well, I'm not sure it is. I hope you agree that it is perfectly OK to work few
hours and then split the work you did into multiple commits, because you just
worked and it logically fits into more than one.

Now, with git, I can keep creating partial commits (It still does not compile,
but I have one function more) and then, before I push, join them together to the
ones I should have done, by the logical parts. And, actually, I do this with git
svn. When I put it into SVN, I set it into stone and I'm never able to change
it anymore.

But I like to move between machines (when I go home for the weekend, for
example). So I'd like to put the work in progress (that is a mess, the last
commit does not even compile, because it is not finished) on some server and be
able to sort that out before I really publish it.

I can put the work in progress on my flash disk and take with me, on some other
server, send myself a patch, but pushing it to the default repository is just
the most convenient way.

So what I actually suggest is, that a dirty branch is something that is to be
considered still private and unpublished, but is sitting in the main repository
for convenience (so I do not need to create another one somewhere to
synchronize). Once the work is pushed to some non-dirty branch, it is set in
stone forever and noone is allowed to change it any more. I'm far from
suggesting to allow rewriting the normal branches.

> > Yes, if you don't mind. Where do you find it?
> 
> I'll get you access to it, somewhere.  I'll probably clone a copy onto
> the bind10 server for you in a bit, and you can commit to it there.  The
> main one is on isc's repository server, and well...  not certain you can
> reach that.

I'm not, I have account only on the bind10. Thanks.

Have a nice day

-- 
If it works, fix it.

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20101008/8301b456/attachment.bin>


More information about the bind10-dev mailing list