Hi,
I have a modified powershell script.
Although it show on working copy changes windows, it show nothing in the diff window when i select it!
Any suggestions?
Regards,
S. Mantziaris
If you're using PowerGUI use the File->Encoding menu to choose UTF-8. PowerGUI's default encoding doesn't seem to work nicely in Git.
I'm sorry to hear that didn't work for you; I was feeling quite positive after I got it working on my system.
Is it possible you've modified your .gitattributes trying to fix this? A line like *.ps1 -text might be problematic (I'm no expert).
My .gitattributes contains:
*.ps1diff
*.ps1text
When I made the encoding change, I had to do a "garbage commit" -- my term for when a commit doesn't involve semantic change, but rather changes imposed by a tool. My diff looked like this:
The beginning of the diff also contains some funky characters, which I believe are referred to as the BOM by Unicode enthusiasts.
HTH,
Alan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are the changes whitespace only?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.