question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Binary file history view

See original GitHub issue

Description

In History on previous commits, GitHub Desktop shows a message that this binary file has changed and I can open it with related program. My file is a Rhino .3dm file that when I try open it, it show me just last version.

Version

  • GitHub Desktop: version 1.5.1
  • Operating system: Microsoft Windows [Version 10.0.16299.785]

Steps to Reproduce

  1. Commit Changes
  2. Open History
  3. Click on show binary file in related app

Expected Behaviour

Open previous files in rhino app, not just last file.

Actual Behaviour

show only last version of file.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:4
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Daniel-McCarthycommented, Jan 19, 2019

My biggest concern is that the history is a representation of what’s changed throughout the life of your repo, but I’m not sure how much demand there would be for users to be able to open a previous version of a file

I’d be interested in others thoughts as well, especially if there are other folks who might find value in something like this so I can understand better what it might enable and when people might use it.

I think this would potentially make a lot of sense. When you have the history between two text files, seeing the diff is usually sufficient to be able to judge what has changed and be able to make an opinion of it. Knowing what has changed is essential when evaluating history.

However, with a binary file, you may not have as much context with the change. The binary file can be a number of things that may not be able to be displayed to the user. If the binary file is an image it is possible to display the two images to potentially tell them apart and see what has changed.

But when the binary file is something like a 3D model, or some other art file that is not displayed by Desktop, being able to open both the current and previous allows them to see both in their software and understand the changes being made in the project.

That’s to say, that without this, the user may not be getting much use of history for this type of file at all. It would allow for some A B testing and compare, like you would with text file history for example. Perhaps this may add some context. I would love to hear what others think on this as well.

1reaction
billygriffincommented, Jan 7, 2019

Wow, this is not something I’ve heard before either, thanks @hghofraniha and @shiftkey for offering some thoughts. My biggest concern is that the history is a representation of what’s changed throughout the life of your repo, but I’m not sure how much demand there would be for users to be able to open a previous version of a file - and I’m also concerned it could cause confusion between the current version and previous version. I’d be interested in others thoughts as well, especially if there are other folks who might find value in something like this so I can understand better what it might enable and when people might use it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git find all binary files in history - Stack Overflow
If anyone wants to view the history of a file they can do with their existing tools, but if they want to work...
Read more >
Binary history files - IBM
Agent Attribute Group Binary history filename Application Management Console ERT Agent Messages T3AGNTMSGS Application Management Console AMC Agent T3SNAGENT Application Management Console AMC Application T3SNAPPL
Read more >
Detecting binary files in the history of a git repository
Checking all commits in a branch​​ Since we want to make this an efficient process and we only care if the history contains...
Read more >
Remove large binaries from your Git history - Azure Repos
Learn more about managing large files in Git and see this blog post for a detailed explanation and workaround for this behavior when...
Read more >
Remove binaries and big files from Git repo - NetDevOps
To see if your repo holds those monster files you can leverage some Git ... We are ready to update the remote with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found