Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6112627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:45:59+00:00 2026-05-23T14:45:59+00:00

When I type git difftool under plain cygwin shell, I just receive benign exit:

  • 0

When I type git difftool under plain cygwin shell, I just receive benign exit:

~/sb/ws> git difftool
~/sb/ws>

But when I type exactly the same thing under Emacs inferior shell (running the same cygwin bash), I receive the following error:

~/sb/ws> git difftool
git difftool
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LC_ALL = (unset),
    LANG = "ENU"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
~/sb/ws> 

Any idea why this is happening and how to fix this?

(all other git commands, by the way, work perfectly under this Emacs inferior shell, so I can only assume this must be something specific to difftool)

EDIT (providing variant & version information on the tools involved):

  1. cygwin-1.7.8-1
  2. GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600) of 2010-05-08 on G41R2F1
  3. git version 1.7.4
  4. Windows 7 Ultimate 64-bit
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:46:00+00:00Added an answer on May 23, 2026 at 2:46 pm

    you’re really have wrong LANG, look onto /usr/share/locale for list of available locales..

    But really question is – why’re using git directly in Emacs, when it has several good git modes, and magit – the best between them? Why not perform all tasks using Emacs?

    P.S. I have an article about Emacs + Git…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I added the following line to .gitignore : sites/default/settings.php but when I type git
Installing a rails plugin using the git:// protocol is easy, you just type script/plugin
When I type git branch , I receive a list of branches that appear
When I type git diff , I want to view the output with my
Right now, when I type git branch it lists my branches in an arbitrary
When I'm on master, I only have to type 'git push' to push commits
When I type: git push heroku master, this is what happens $:sample_app git push
my ~/.gitconfig is: [alias] commit = !sh commit.sh However, when I type git commit
I just checked out an earlier commit from my local git repo. I haven't
I have the following line in my .gitignore file: var/www/docs/.backroom/billing_info/inv.pl but when I type

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.