Re: [RFC] Replace rebase with filtering

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Grimm
Date: Wednesday, January 17, 2007 - 3:21 pm

Johannes Schindelin wrote:

Well, yes there is, in fact: don't forget the existing history like 
rebase currently does. Merge doesn't have the same problem. That's kind 
of the crux of what I'm proposing here: if you change the implementation 
of git's "Don't clutter my history with meaningless merges" feature from 
a history-lossy operation (rebase as it stands today) to a display-time 
filter (regular merge with an added "I'm just an update" marker) then 
this problem evaporates and it becomes safe to clone *any* repository 
and pull updates from it, not just ones where the owner is being careful 
never to run rebase when there are pending changes.

I think filtering is consistent with the way git does other things. 
Renames would be the big example; they are detected after the fact and 
dealt with at the point where they're actually relevant to what the user 
is doing (merging, etc.) rather than appearing as an explicit part of 
the repository's history. Why shouldn't no-op "sync with upstream" 
changes work the same way?


True enough, but if the computer can retain the information it needs to 
do that for me (which it does if I merge instead of rebase) then why 
shouldn't it?

-Steve

-
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:
[RFC] Replace rebase with filtering, Steven Grimm, (Mon Jan 15, 7:41 pm)
Re: [RFC] Replace rebase with filtering, Johannes Schindelin, (Tue Jan 16, 4:18 am)
Re: [RFC] Replace rebase with filtering, Steven Grimm, (Tue Jan 16, 12:20 pm)
Re: [RFC] Replace rebase with filtering, Steven Grimm, (Tue Jan 16, 12:43 pm)
Re: [RFC] Replace rebase with filtering, Johannes Schindelin, (Tue Jan 16, 1:35 pm)
Re: [RFC] Replace rebase with filtering, Steven Grimm, (Tue Jan 16, 1:40 pm)
Re: [RFC] Replace rebase with filtering, Johannes Schindelin, (Tue Jan 16, 2:20 pm)
Re: [RFC] Replace rebase with filtering, Steven Grimm, (Wed Jan 17, 3:21 pm)