Feature request:

Hi, I’m using Devonthink 4 on top of GIT repositories. Nowadays, the files are mostly Markdown due to AI.
A great feature of GIT software and applications such as Word, BBEdit and GIT is the ability to compare file versions. In this case, similar to GIT’s diff.

In this use case, DEVONthink’s version handling is not an option since Git is used.

Kindly/Anders

Your request is unclear so I’m guessing this is your actual request?

I also did not understand the request. Additionally, what does DT “on top of” git repositories mean? Is that in addition to, or you’re indexing repositories? Would be curious about the latter.

Hi, let me clarofy, the request is:

Add a DIFF functionality so that the differences between two (text) documents can be shown in colours, added, removed and changed.
Thus can be done for two selected (text)documents, ala BBEdit.
When DT is indexing folders and files under Git repo management, the DIFF can be performed between the current document and the most recent committed version in Git, this ala development IDE’s

Make sense?

/Anders

To me, it makes very little sense to add an isolated feature to work with Git repositories in DT. You can’t merge, push, pull nor fetch from DT, so you need a Git client anyway. And that should provide a diff, I guess.

4 Likes

Yes, that’s more clear but there are already apps for doing a diff between documents. Request noted with no promises.

It is about how long you stay in one tool. It would be great to be able to us DT for DIFFs while other tools can do the same.
I asked Codex to create diff command for my experimental software and it took 20 min to code it and for me to check the visual appearance.

Can’t the “one-tool” now be macOS with DEVONthink in one window, and your favourite diff software in another window?

2 Likes

Don’t forget DT handles many file types. How do you diff rtf, pdf, docx, etc.?

Context matters. Your experimental software is not DEVONthink (or other applications). Perhaps your experiment can be receive file drops or selections to diff outside DEVONthink.

It would be great to stay in one tool for DIFF and not have to switch for a small feature like this.
The coding example was to show how quick such basic feature can be implemented.

Yes, I already have plentiful of DIFF tools, even GitHub Desktop.

Its about how long time you stay in one tool.

This an engineering challenge that Microsoft, XML, and PDF tool vendors have solved.
Its about how long time you stay in one tool.

Building a prototype is one thing, having a reliable, user-friendly, thoroughly tested and fully documented feature is another thing. And of course not everything that can be done has to be done. It’s noted but no promises.

4 Likes

I do not understand the relationship between Git and DT here. If you have GitHub Desktop and need it to manage your GitHub repo anyway – why don’t you stay in that tool for your Diff, too?

If DT were to add Diff for your GitHub repo files, you’d have to switch tools again unless DT were to add Merge, Pull, Push, Fetch, Branch, whatnot. Diff is but a tiny aspect of the whole Git workflow, why should that be added to DT but not all of the other commands/tools?

1 Like

I do manage the Git through several tools, no need for DT to replace them.

The use cases are not associated with Git, its about seeing changes to a file or differences between files. These two use cases are already considered as important in general (in Word, PDF tools, IDE, etc,) and also in my work.

The seeing the change use case typically needs versioning, DT’s own or Git or anyone elses.