git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* avoid duplicate patches from git log ?
@ 2016-05-03 20:11 Philip Oakley
  2016-05-03 22:00 ` Jeff King
  2016-05-04 11:44 ` Johannes Schindelin
  0 siblings, 2 replies; 7+ messages in thread
From: Philip Oakley @ 2016-05-03 20:11 UTC (permalink / raw)
  To: Git List

I was trying to search the Git for Windows (G4W) history for commits that 
touched MSVC.

I've used 'git log -SMSVC --pretty='tformat:%h (%s, 
%ad)' --date=short --reverse' to get a nice list of those commits.

However, as the G4W project (https://github.com/git-for-windows/git/) 
follows the main git repo and its releases, it needs to rebase it's fixup 
patches, while retaining their original series, so has repeated copies of 
those fix patches on the second parent path (a technique Dscho called 
rebasing merges).

for example:
> bf1a7ff (MinGW: disable CRT command line globbing, 2011-01-07)
> a05e9a8 (MinGW: disable CRT command line globbing, 2011-01-07)
> 45cfa35 (MinGW: disable CRT command line globbing, 2011-01-07)
> 1d35390 (MinGW: disable CRT command line globbing, 2011-01-07)
> 022e029 (MinGW: disable CRT command line globbing, 2011-01-07)


How can I filter out all the duplicate patches which are identical other 
than the commit date?

The --left --right and --cherry don't appear to do what I'd expect/hope. Any 
suggestions?
--
Philip

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

end of thread, other threads:[~2016-05-04 19:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03 20:11 avoid duplicate patches from git log ? Philip Oakley
2016-05-03 22:00 ` Jeff King
2016-05-03 22:12   ` Junio C Hamano
2016-05-03 22:36     ` Philip Oakley
2016-05-04 11:58       ` Johannes Schindelin
2016-05-04 19:15         ` Junio C Hamano
2016-05-04 11:44 ` 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).