git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Idea: Add a filter option to 'git rebase'
@ 2017-01-20 22:28 Philip Oakley
  2017-01-20 23:35 ` Thomas Braun
  0 siblings, 1 reply; 4+ messages in thread
From: Philip Oakley @ 2017-01-20 22:28 UTC (permalink / raw)
  To: Git List; +Cc: Johannes Schindelin

A recent question on stackoverflow 
http://stackoverflow.com/questions/41753252/drop-commits-by-commit-message-in-git-rebase 
sought to remove automatically commits that could be identified by relevant 
words in the commit message.

I had thought that the ubiquitous `git filter-branch` should be able to do 
this sort of thing. I was wrong. (It was pointed out to me that...) The man 
page notes that removing a commit via filter-branch does not remove the 
changes from following commits and directs readers to using `git rebase(1)`.

However the rebase command does not have any filter option to allow the 
automatic population of its TODO list with the appropriate 
pick/edit/drop/etc. values.

It does feel as if a --filter style option would be a useful addition to 
rebase to complement the filter-branch options once the current conversion 
from script to code is complete.

Is this something that should be put in the 'worth considering' pile?

--
Philip 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-23 11:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20 22:28 Idea: Add a filter option to 'git rebase' Philip Oakley
2017-01-20 23:35 ` Thomas Braun
2017-01-21 23:18   ` Philip Oakley
2017-01-23 11:57     ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).