git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fast-import [mis?]-honors core.ignorecase
@ 2012-06-25 20:48 Jay Soffian
  2012-06-26  3:45 ` Joshua Jensen
  0 siblings, 1 reply; 2+ messages in thread
From: Jay Soffian @ 2012-06-25 20:48 UTC (permalink / raw)
  To: git, Shawn Pearce

I was using a "fast-export | <filter program> | fast-import" as a much
faster filter-branch --env-filter (I needed to rewrite
author/committer email-addresses) and was surprised that after the
pipeline was done, the new ref's trees didn't match the old ref's
trees. i.e.:

  $ cmp <(git log old-ref --pretty='%T')  <(git log --pretty='%T' new-ref)

didn't return 0. Comparing one of the differing tree-pairs indicated
it was due to a case-difference in a file which had been renamed.
After some experimenting I finally tracked this down to having
core.ignorecase set to "true" on the repo in which I was running the
pipeline. By setting it to "false" the filtering pipeline completes
with new-ref (and all its ancestors) being tree-identical to old-ref.

Is there any reason for fast-import to honor ignorecase?

j.

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

end of thread, other threads:[~2012-06-26  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-25 20:48 fast-import [mis?]-honors core.ignorecase Jay Soffian
2012-06-26  3:45 ` Joshua Jensen

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).