On Monday 2007 October 01, martin f krafft wrote:But it _is_ a conflict. Conflicts have to be resolved. I'm having difficulty understanding what you think git should be doing in these cases? I don't see that that would help. All you are doing with a gitignore.d is swapping lines for files, the conflicts would still exist. Presumably you are hoping that the separate branches will make different files in gitignore.d and hence can't conflict; but then you've just pushed the conflict to a place where it won't be seen (and also made a terrible mess of the merged branch gitignore.d). branchA:.gitignore.d/branchAignores branchB:.gitignore.d/branchBignores Over time you would get: master:.gitignore.d/branchAignores master:.gitignore.d/branchBignores master:.gitignore.d/branchCignores master:.gitignore.d/branchDignores master:.gitignore.d/branchEignores master:.gitignore.d/branchFignores Then, assuming the conflicts you get now occur for a reason, you will get conflicts within the .gitignore.d/ directory. Let's say branchCignores adds *.o and branchFignores removes *.o from the ignores. Who is right? Who knows, and worse than that you didn't see the conflict when it happened so it wasn't resolved and the master branch was left with conflicts in it. Of course the conflicts in that case aren't in the form of "<<<<<" markers, but they are no less conflicts just because they're invisible. Eventually someone is going to want to combine this ever-increasing set of ignore files into one. i.e. they'll merge them. In which case why couldn't you do the merge at the correct time - when the branch was merged? Andy -- Dr Andy Parkins, M Eng (hons), MIET andyparkins@gmail.com - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Laurent Riffard | Re: 2.6.25-rc2-mm1: WARNING at arch/x86/mm/ioremap.c:129 |
| Alan Cox | Re: x86: 4kstacks default |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 34/37] dccp: Auto-load (when supported) CCID plugins for negotiation |
| Maciej W. Rozycki | Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes |
| John P Poet | Realtek 8111C transmit timed out |
git: | |
