diff options
author | zardoz <zardoz@web> | 2014-07-31 10:48:11 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-07-31 10:48:11 +0000 |
commit | 3ff22f3cccd6c4763a998e98485e1fe9ebeaccf8 (patch) | |
tree | 9e07fe6566621b9eb86d70955e6ee6b4a8b58c21 /doc | |
parent | 1064e0da714220056629322299f11a200117ca8b (diff) |
Add tip to make Firefox behave as expected when opening annexed HTML documents.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/Making_Firefox_not_dereference_symlinks_on_open.mdwn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/forum/Making_Firefox_not_dereference_symlinks_on_open.mdwn b/doc/forum/Making_Firefox_not_dereference_symlinks_on_open.mdwn new file mode 100644 index 000000000..5680cbd02 --- /dev/null +++ b/doc/forum/Making_Firefox_not_dereference_symlinks_on_open.mdwn @@ -0,0 +1,3 @@ +Firefox has the nasty habit that it will force-dereference symlinks when locally opening files (i. e., opening an annexed document will cause it to be opened in .git/annex/objects/…). Since this will break relative links within HTML files, this would make Firefox pretty useless when working with a git annex containing HTML files. (Apparently this behavior is [desired](https://bugzilla.mozilla.org/show_bug.cgi?id=803999) upstream and might not be fixed.) + +Seems I’m not the only one who would like to work with annexed HTML files, though. On the [Debian bugtracker](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691099), another user shared a handy shim which can be used in LD_PRELOAD and which will force Firefox to open symlinks in-place. Thought I’d share this here in case it’s of use to anyone. |