Re: [FEATURE] difftool to provide meaningful names for temporary files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I noticed many times already that it is at times confusing to
determine for new users which file versions are shown where in the
graphical told like gvimdiff or kompare.

The problem is that when difftool machinery creates a temporary files
to show in the editor it is creating them with some random hashes in
the beginning of the file name.

Is it possible to make the difftool and mergetool smarter to have them
to create those temporary files with meaningful names, f.e.:

If I specify:
Git difftool master dev
It will create the files with master and dev prefixes correspondingly,
it will take the two points names and use them in temp file names.
Master_file.txt vs dev_file.txt

If I specify:
Git difftool
It could take HEAD and local as name prefixes

Same for mergetool where it could use HEAD and incoming branch name as
prefixes or something like that.

Does it make sense?

Thanks,
Eugene
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]