Re: An alternate model for preparing partial commits

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Robert Anderson
Date: Friday, June 27, 2008 - 7:57 pm

On Fri, Jun 27, 2008 at 7:14 PM, Dmitry Potapov <dpotapov@gmail.com> wrote:

I don't believe it is like that.  It would be like that if you
intended for your on-tree disk to have a policy to always compile (for
example).  That is not a common use-case.


I have not suggested they were.


This is enforcing a two-step process where there only need be one the
vast majority of the time, to require that commit and publish be
separate operations.


I don't understand the question.  The entire point of the facility I
am proposing is to facilitate creating small clean changesets.  Go
back and read my original proposal, or Junio's statement of more or
less the same idea, to see how it is proposed to do this.


Again, this is requiring two steps when it is otherwise not required,
creating an inefficient workflow that is error prone.


Huh?  I have done that every day for 15+ years.


No.  I have experience with a wide array of source control systems.
CVS fits my mental model the least well.  git is pretty close, but it
is not there yet.  The current partial commit facility is the biggest
misfire, in my view.

I like that git's philosophy does not include a draconian policy of
not changing history.  That's fine, it's practical, and it's useful,
to cover common scenarios in which you'd like to quickly recover from
a mistake.  However, I am afraid that these facilities have been
abused and turned into something that they are not well-suited for,
i.e., the use of lines of development as both keepers of history and
of scratch spaces where you scribble around with temporary things, all
the while git having no clue which is intended.  That these ideas are
conflated is a mistake.  That's my opinion.  These activities ought to
occur in separate, logically distinct spaces in which they occur,
because they have different requirements and common use-cases.

Bob
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
An alternate model for preparing partial commits, Robert Anderson, (Thu Jun 26, 11:50 pm)
Re: An alternate model for preparing partial commits, Johannes Sixt, (Fri Jun 27, 1:35 am)
Re: An alternate model for preparing partial commits, Petr Baudis, (Fri Jun 27, 1:50 am)
Re: An alternate model for preparing partial commits, Johannes Schindelin, (Fri Jun 27, 6:33 am)
Re: An alternate model for preparing partial commits, Miklos Vajna, (Fri Jun 27, 6:49 am)
Re: An alternate model for preparing partial commits, Robert Anderson, (Fri Jun 27, 9:54 am)
Re: An alternate model for preparing partial commits, Robert Anderson, (Fri Jun 27, 10:01 am)
Re: An alternate model for preparing partial commits, Robert Anderson, (Fri Jun 27, 10:02 am)
Re: An alternate model for preparing partial commits, Robert Anderson, (Fri Jun 27, 10:14 am)
Re: An alternate model for preparing partial commits, Robert Anderson, (Fri Jun 27, 10:34 am)
Re: An alternate model for preparing partial commits, Johannes Schindelin, (Fri Jun 27, 10:45 am)
Re: An alternate model for preparing partial commits, Robert Anderson, (Fri Jun 27, 10:49 am)
Re: An alternate model for preparing partial commits, Junio C Hamano, (Fri Jun 27, 11:15 am)
Re: An alternate model for preparing partial commits, Robert Anderson, (Fri Jun 27, 11:43 am)
Re: An alternate model for preparing partial commits, David Jeske, (Fri Jun 27, 1:29 pm)
Re: An alternate model for preparing partial commits, Stephen Sinclair, (Fri Jun 27, 1:31 pm)
Re: An alternate model for preparing partial commits, David Jeske, (Fri Jun 27, 1:45 pm)
Re: An alternate model for preparing partial commits, Dmitry Potapov, (Fri Jun 27, 7:14 pm)
Re: An alternate model for preparing partial commits, Robert Anderson, (Fri Jun 27, 7:57 pm)
Re: An alternate model for preparing partial commits, Dmitry Potapov, (Fri Jun 27, 9:03 pm)
Re: An alternate model for preparing partial commits, Jeff King, (Fri Jun 27, 10:03 pm)
Re: An alternate model for preparing partial commits, Robert Anderson, (Sat Jun 28, 12:03 am)
Re: An alternate model for preparing partial commits, Johannes Schindelin, (Sat Jun 28, 7:51 am)
Re: An alternate model for preparing partial commits, Wincent Colaiuta, (Sat Jun 28, 10:23 am)
Re: An alternate model for preparing partial commits, Junio C Hamano, (Sat Jun 28, 2:53 pm)