[git] creation of .gitignores

Hi, the converted repository is missing .gitignores. svn provides the ignores patterns in the "svn:ignore" property. The question is: Can those patterns be extracted by the conversion script or shall manually create .gitignores in current svn (patch attached). The third option is to add them after the conversion. Adding (and modifying) the .gitignores during the conversion has the advantage of having .gitignores throughout the whole history instead of only "now". Any comments? Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold@gmx.eu ! Germany

On 10/10/2013 06:13 PM, Jürgen Hunold wrote:
Hi,
the converted repository is missing .gitignores. svn provides the ignores patterns in the "svn:ignore" property.
I think we may have ignore patterns in an .git/info/exclude file as well, I am not sure but this may be simpler to get to apply to all revisions of the repository, so it may fix the history issue.
The question is: Can those patterns be extracted by the conversion script or shall manually create .gitignores in current svn (patch attached). The third option is to add them after the conversion. Adding (and modifying) the .gitignores during the conversion has the advantage of having .gitignores throughout the whole history instead of only "now".
Agree it may be nice, but not sure haw important it is for status to work well in the history. Without this for a diff between current checked out commit and other-commit back in history you have to specify git diff HEAD <other-commit> rather than git diff <other-commit> to ignore any working directory noise you may have. So it is not that big of a deal.
Any comments?
I would have expected patterns for generated files in status folder. Should we add boost folder? -- Bjørn

In my opinion it isn't important to do anything about this before the switchover. On Thursday, October 10, 2013 9:13:33 AM UTC-7, Jürgen Hunold wrote:
Hi,
the converted repository is missing .gitignores. svn provides the ignores patterns in the "svn:ignore" property. The question is: Can those patterns be extracted by the conversion script or shall manually create .gitignores in current svn (patch attached). The third option is to add them after the conversion. Adding (and modifying) the .gitignores during the conversion has the advantage of having .gitignores throughout the whole history instead of only "now".
Any comments?
Yours,
Jürgen -- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhu...@gmx.eu javascript: ! Germany
participants (3)
-
Bjørn Roald
-
Dave Abrahams
-
Jürgen Hunold