Re: [PATCH/RFC] Add support for the google-chrome web browser
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 5, 2010, 19:56 UTC
- Message-ID
- <7veim4xr47.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <32541b131001051056o5853b1d2xd57d75d9a62f9f1a@mail.gmail.com>
Avery Pennarun <apenwarr@gmail.com> writes:
Show 5 quoted lines
> The current behaviour will barf right away (I think) because it > doesn't know. If it instead had a default case that just assumed > non-firefox behaviour, then it would fail *strangely* (instead of > predictably) on browsers that needed special workarounds, such as an > as-yet-unknown firefox derivative.
Ok, I can buy that.
I have a feeling that extensibility situation of this script is similar to that of mergetool/difftool. Perhaps a similar approach to refactor and then support browser-specific peculiarities by separate files, outlined in http://thread.gmane.org/gmane.comp.version-control.git/134906/focus=135006 might work well, don't you think?