scolladon / sfdx-git-delta

Generate the sfdx content in source format from two git commits
Other
435 stars 115 forks source link

git delta cann't recognize sharing file changes #879

Closed Nainabutle28 closed 2 months ago

Nainabutle28 commented 3 months ago

Hi, I have a sharing rules file which is already present in my branch. Now, I want to redeploy it, so I tried adding a dummy space and also tried adding a command in the last line of the file. However, I think Git is not able to identify the changes. When my deploy command tries to take the changed file, it shows the following error: Could you please assist me with why this happens and how to solve it?

giterror
scolladon commented 3 months ago

Hi @Nainabutle28 !

Thanks for raising this issue and thanks for contributing in making this project better!

Sorry to see this issue, I think there is 2 issues here ?

  1. Redeploy the sharing rule by making a change into it, I think we can discuss that
  2. Deploy something empty, here it is more a cli situation.

Let's talk about point 1. I think the issue here is the plugin detects the empty change and do not track it. To be sure could send me the steps to reproduce exactly this ? Also, if you know you need to redeploy it why do you need the plugin to select it ? Why don't you just redeploy it ?

scolladon commented 3 months ago

Hi @Nainabutle28 !

Do you still have the issue ? If yes, could you reply to my previous comment please ?

scolladon commented 2 months ago

Closing this issue for inactivity.

Feel free to reopen it with more information to reproduce and isolate it