Questions tagged [diff]
The diff tag has no usage guidance.
14
questions
0
votes
1
answer
45
views
VSCode version control diff compare - taking alot of time for certain files
We're using Gitlab for version control, and in VSCode when I've done changes to the file "CustomLabels.labels-meta.xml" in local and doing the diff to the branch, it take a lot of time to ...
3
votes
1
answer
358
views
sf project deploy preview shows conflicts, but files are identical
When I run sf project deploy preview it shows particular files as conflicted. However, when I run SFDX: Diff File Against Org, it shows as identical.
What does it mean to have a conflict when ...
-1
votes
1
answer
51
views
How to retrieve last modification time of files stored in Org?
Currently I am using sf project retrieve start to retrieve files stored inside the Salesforce Org.
Is it possible to retrieve the file modification times of these files as well? I am working on a tool ...
1
vote
1
answer
477
views
How to Diff Entire Org (list of changed files) in VSCode?
When right clicking on the force-app\main\default folder and clicking SFDX: Diff Folder Against Org it doesn't list all the files changed in all the subfolders, but some changed files are not listed.
...
-1
votes
1
answer
53
views
How to get information which tests are required for specified scope
our deployment pipeline works on diff. So every time only differences between source and target branch are deployed to environment. We are wondering if there is possibility to run only required tests ...
2
votes
0
answers
2k
views
VS Code Diff against Org not working anymore - retrieve still works
Since a few days I am not able to compare my code to that the of the Sales Cloud server anymore via "SFDX: Diff File against Org".
I receive this error message in VS Code:
09:15:09.774 ...
1
vote
2
answers
3k
views
How to compare the diff between 2 orgs with sfdx?
really need your help.
I have 2 sandboxes which have their own development, now that i want to merge them into one, i want to make a comparison of diff between those 2 orgs.
I have tried running this ...
1
vote
1
answer
502
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
0
answers
78
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 ...
3
votes
0
answers
2k
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 ...
5
votes
3
answers
7k
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
2
answers
237
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
2
answers
1k
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 ...
6
votes
1
answer
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 ...