just wondering, does graphite use a different diff...
# how-do-i
a
just wondering, does graphite use a different diff algorithm to github? if so, is there somehow a way to change it? i'm reviewing a PR atm (that's luckily small) and it threw me off because the diff is different depending on if it look in graphite or github
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
a
if necessary to debug, i can share screenshots and maybe code in DM or something but i'd prefer to not share in a public channel i am using the new PR experience in graphite, not sure if that changes anything
p
Hey Ally, Can you share screenshots and a link to the graphite PR? I will ping you
Hey Ally, I saw your messages, just wanted to keep the convo here for our own tracking. A few questions: • Are you seeing this difference comparing different versions only or does the entire PR have a diff issue from GH and Graphite? • Is this just in the code editor on Graphite or is this in the PR page as well? • How frequently is this occurring? • Do you have easy repro steps for us so we can try this on our side?
a
• Are you seeing this difference comparing different versions only or does the entire PR have a diff issue from GH and Graphite?
when v1 was the latest version, it was the entire PR. in the screenshots i sent, i was comparing selected versions to reproduce what i saw when v1 was the latest version
• Is this just in the code editor on Graphite or is this in the PR page as well?
entire PR page as well. i just showed code editor to hopefully give extra info as to what graphite thought the file was
• How frequently is this occurring?
i believe i have seen others PRs have more commits in github than they have versions in graphite, but i don't review many other PRs so it's hard to say
• Do you have easy repro steps for us so we can try this on our side?
sadly not really. at a guess, maybe it has something to do with rebasing? i don't really have anything extra to go on though sadly 😕