Questions tagged [diff]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
25 views

diff on folder in visual studio code

I am using Visual Studio Code with Salesforce Extensions. I am trying to find all diffs between my local project and the sandbox. When I right click on classes folder and click on Diff Folder Against ...
2
votes
0answers
27 views

Custom Git hunk header for Apex (on GitHub)?

In every Git diff there's this thing called a hunk header at the beginning of the diff section that looks like this: @@ -23,12 +23,10 @@ public with sharing class MyClass { This is nice but not very ...
2
votes
0answers
87 views

SFDX:Diff File Against Org command not working only for Apex Classes

In my VS Code, when I right-click on an Apex class I can't see 'SFDX:Diff File Against Org' command. But this is perfectly working for Aura components or Visualforce Pages. The problem only exists ...
4
votes
3answers
1k views

Simple way to diff a file in local SFDX project against Production version with SFDX

Although we use git repos to track all our projects, I oftentimes want to do another check against a production file before I overwrite it with an sfdx force:source:deploy command (because as much as ...
2
votes
2answers
141 views

Find record diff between two dates in Apex (to minimize API calls)

I have a managed package app with a CustomObject__c where some of its fields need to be "synced" with an external web service. To stay within technical limits the Sync callout is only done once a day. ...
5
votes
2answers
755 views

What is the recommend way to diff local vs remote conflicts/changes in Salesforce DX?

When working with sfdx force:source:status the documentation cites as exemplary result: STATE FULL NAME TYPE PROJECT PATH Local Deleted MyClass ...
5
votes
1answer
1k views

How can I get better diffs when looking at Salesforce metadata

Sometimes when I look at changes to Salesforce metadata using a git diff tool like SourceTree it is not clear what's actually changed. If one block of XML has been deleted and another one inserted the ...