Correct fast-export file mode strings to match fast-import standard
authorShawn O. Pearce <spearce@spearce.org>
Mon, 25 Feb 2008 03:57:29 +0000 (22:57 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Feb 2008 04:09:54 +0000 (20:09 -0800)
commitce4a7bff41c6bb4dc2d578264a429b5e13e89bdc
tree47d4dd768dda5557272feb22cfb41a91ad53b317
parent8c87dc77ae45d7277001b1be2c88ea9062e11d72
Correct fast-export file mode strings to match fast-import standard

The fast-import file format does not expect leading '0' in front
of a file mode; that is we want '100644' and '0100644'.

Thanks to Ian Clatworthy of the Bazaar project for noticing the
difference in output/input.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fast-export.c