Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: provide an output as json #73

Open
domiSchenk opened this issue Dec 8, 2021 · 4 comments
Open

Feature: provide an output as json #73

domiSchenk opened this issue Dec 8, 2021 · 4 comments

Comments

@domiSchenk
Copy link

I'm currently using gitdiff-parser at @Commandos-app/commandos for parsing my git logs. and styling the result with HTML/CSS. this is cumbersome and not really fast.

I stumbled upon this library and it looks very promising.
For using it in my Git Client I need a different output, JSON would make it super flexible or as mentioned in #45 an HTML output.

Wilfred added a commit that referenced this issue Dec 22, 2021
This separates diffing and printing better, and will make it easier to
provide a JSON output for #73.
@Wilfred
Copy link
Owner

Wilfred commented Dec 22, 2021

Yeah, I think JSON would be really useful. @dandavison also expressed an interest in potentially consuming JSON from difftastic.

@domiSchenk
Copy link
Author

@Wilfred how to use the alternate output?

@Wilfred Wilfred reopened this Jan 27, 2022
@Wilfred
Copy link
Owner

Wilfred commented Jan 27, 2022

@domiSchenk argh, looks like GitHub has confused a commit in a git submodule with a commit on difftastic itself and closed this. This feature doesn't exist yet, so this issue should still be open.

ap-nri pushed a commit to ap-nri/difftastic that referenced this issue Apr 1, 2022
gcr pushed a commit to gcr/difftastic-nim that referenced this issue Jan 31, 2024
@net-tech
Copy link

Hi there,

Really enjoying difftastic so far. This issue has been open since 2022 and is a blocker for making code editor extensions for difftastic, so I was wondering if support for JSON output was still planned?

crbelaus pushed a commit to crbelaus/difftastic that referenced this issue Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants