* FEAUTRE-REQUEST: upon git difftool, files which cannot be modified (persistently) should be made read only
@ 2014-10-16 2:45 Christoph Anton Mitterer
0 siblings, 0 replies; only message in thread
From: Christoph Anton Mitterer @ 2014-10-16 2:45 UTC (permalink / raw)
To: git
Hi.
Apparently since a while, git difftool has the awseome feature,
that it just symlinks the files to the working copy, if a diff with
that is requested.
e.g. something like:
git difftool -d
will have
/tmp/git-difftool.TWYTA
created with subdirs
left:
-rw-r--r-- 1 user user 45k Oct 16 04:33 file
right:
lrwxrwxrwx 1 calestyo calestyo 52 Oct 16 04:33 file -> /home/user/foo/file
When one edits and saves this in one's favourite difftool,... it
actually gets into the working copy.
But of course saving the left (in this example) has no effect, so it
would be nice if all these files were marked readonly, so that one
already sees in the difftool "changes here are useless".
Cheers,
Chris.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-16 2:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-16 2:45 FEAUTRE-REQUEST: upon git difftool, files which cannot be modified (persistently) should be made read only Christoph Anton Mitterer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).