Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Meld has a command for Refresh and for Reload under the View menu. The help contents don't have anything useful in them, and I couldn't find anything on it when I googled it.

What is the difference between Reload and Refresh in Meld?

share|improve this question
This always bothered me too, because whilst I could understand the difference if I thought about it, one could easily pick the wrong one if there were a situation where it mattered due to the similarity in names, therefore I always seem to end up doing both – Captain Lepton Jan 14 '15 at 13:38

I guess maybe like me, you're using an older version of meld from a package repository. In the latest releases, it appears that the "Reload" option has been removed. Here's an excerpt from the commit comment, which explains nicely the difference between the two:

For version control and folder comparisons, Reload and Refresh already did exactly the same thing. For file comparisons, Reload actually re-reads files off disk, discarding changes if there were any. Since this behaviour is closer to that of gedit's Revert, this commit removes the Reload action for all views, and adds a Revert command to the File menu for file comparisons.

share|improve this answer
This is helpful, but I'm still a bit unsure of the differences. Why do reload and refresh do the same thing with version control and folder comparisons, but (presumably) not for file comparisons? It sounds like for file comparisons, reload actually re-reads the file from the disk, and refresh does something different... – Cody Piersall Aug 9 '13 at 13:38
@CodyPiersall I think it's best to think of "reload" as a "revert", as in "discard any changes I've made within meld". In file mode, you may have made changes that can be reverted, but in vcs/folder mode, there isn't really any way it can "revert" anything. The "refresh" option would be used to pick up external changes to files. So effectively both of them re-read files from disk, but Reload also discards any local changes you have made. – arcticmac Aug 14 '13 at 18:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .