* Why is 'map' used in filter-branch's skip_commit?
@ 2008-08-13 21:16 Jonathan Nieder
0 siblings, 0 replies; only message in thread
From: Jonathan Nieder @ 2008-08-13 21:16 UTC (permalink / raw)
To: git; +Cc: Johannes.Schindelin
Hi,
I was wondering why skip_commit uses 'map' to rewrite the parents
supplied to the commit-filter.
For a moment, I was worried that if skip_commit has to rewrite parents
then the user should have to, too, before passing them to git
commit-tree - but no, it seems that the parents supplied to the
commit-filter are already rewritten. In fact, before skip_commit was
introduced (commit f95eef), an example in the filter-branch
documentation used 'echo' instead of 'map' for the same construct.
Is it just a matter of style? Or am I missing something else?
Thanks,
Jonathan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-13 21:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 21:16 Why is 'map' used in filter-branch's skip_commit? Jonathan Nieder
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).