{"action":"opened","issue":{"url":"https://api.github.com/repos/ftilmann/latexdiff/issues/150","repository_url":"https://api.github.com/repos/ftilmann/latexdiff","labels_url":"https://api.github.com/repos/ftilmann/latexdiff/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/ftilmann/latexdiff/issues/150/comments","events_url":"https://api.github.com/repos/ftilmann/latexdiff/issues/150/events","html_url":"https://github.com/ftilmann/latexdiff/issues/150","id":321749158,"number":150,"title":"Suggestion: default versions for latexdiff-vc","user":{"login":"briochemc","id":4486578,"avatar_url":"https://avatars2.githubusercontent.com/u/4486578?v=4","gravatar_id":"","url":"https://api.github.com/users/briochemc","html_url":"https://github.com/briochemc","followers_url":"https://api.github.com/users/briochemc/followers","following_url":"https://api.github.com/users/briochemc/following{/other_user}","gists_url":"https://api.github.com/users/briochemc/gists{/gist_id}","starred_url":"https://api.github.com/users/briochemc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briochemc/subscriptions","organizations_url":"https://api.github.com/users/briochemc/orgs","repos_url":"https://api.github.com/users/briochemc/repos","events_url":"https://api.github.com/users/briochemc/events{/privacy}","received_events_url":"https://api.github.com/users/briochemc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-09T22:34:18Z","updated_at":"2018-05-09T22:34:18Z","closed_at":null,"author_association":"NONE","body":"First of all I have to say I love this script - it works great and simplifies a lot of work for me.\r\nI was wondering if it is possible (or even a good idea) to have some default revisions for `latexdiff-vc` in case the revisions are not supplied as input, so that, e.g.,\r\n```\r\nlatexdiff-vc manuscript.tex\r\n```\r\nchoses the current HEAD and the previous commit as versions to make the diff of. That is, if HEAD is currently at commit hash `95244a9` and its parent is `3db2b37`, The short command above does the same as\r\n```\r\nlatexdiff-vc -r 3db2b37 -r 95244a9 manuscript.tex\r\n```\r\nI am not even sure I am wording all this correctly, but I thought I'd give it a go, as the diff between the HEAD and its parent is what I use most. It would also make for a very short (and user-friendly) command to get a nice latexdiff of the latest changes! 😃 "}}
{"actor":{"display_login":"briochemc"}}