Johannes Schindelin ee7559e200 Fix "inside work tree" detection on case-insensitive filesystems
Git has a config variable to indicate that it is operating on a file
system that is case-insensitive: core.ignoreCase. But the
`dir_inside_of()` function did not respect that. As a result, if Git's
idea of the current working directory disagreed in its upper/lower case
from the `GIT_WORK_TREE` variable (e.g. `C:\test` vs `c:\test`) the
user would be greeted by the error message

	fatal: git-am cannot be used without a working tree.

when trying to run a rebase.

This fixes https://github.com/git-for-windows/git/issues/402 (reported by
Daniel Harding).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-10-04 15:32:49 +02:00
2015-10-04 15:32:37 +02:00
2015-10-04 15:32:35 +02:00
2015-10-04 15:32:35 +02:00
2015-10-04 15:32:35 +02:00
2015-10-04 15:32:46 +02:00
2015-08-03 11:01:27 -07:00
2015-08-25 14:57:08 -07:00
2015-08-25 14:57:08 -07:00
2015-08-11 13:48:15 -07:00
2015-10-04 15:31:39 +02:00
2015-09-28 15:33:56 -07:00
2015-08-03 11:01:21 -07:00
2015-08-03 11:01:21 -07:00
2015-08-03 11:01:27 -07:00
2015-09-28 15:28:31 -07:00
2015-10-04 15:32:33 +02:00
2015-09-28 19:16:54 -07:00
2015-09-28 14:57:10 -07:00
2015-10-04 15:31:39 +02:00
2015-08-19 14:48:56 -07:00
2015-08-03 11:01:18 -07:00
2015-09-28 19:19:34 -07:00
2015-10-04 15:32:37 +02:00
2015-09-28 15:28:31 -07:00
2015-09-28 15:33:56 -07:00
2015-08-03 11:01:27 -07:00
2015-10-04 15:32:37 +02:00
2015-09-04 10:43:23 -07:00
2015-10-04 15:32:41 +02:00
2015-08-25 14:57:09 -07:00
2015-08-25 14:57:08 -07:00
2015-09-28 19:19:34 -07:00
2015-08-25 14:57:08 -07:00
2015-09-01 16:31:07 -07:00
2015-08-25 14:57:09 -07:00
2015-08-03 11:01:27 -07:00
2015-08-31 15:39:03 -07:00
2015-09-28 19:16:54 -07:00
2015-09-28 19:16:54 -07:00
2015-09-09 14:30:35 -07:00
2015-08-11 14:29:36 -07:00

Git for Windows

Join the chat at https://gitter.im/git-for-windows/git

This is the source code of Git for Windows, forked from Git.

This project is run by a governance model. If you encounter problems, you can report them as GitHub issues, discuss them on Git for Windows' Google Group, and contribute bug fixes.

Description
A fork of Git containing Windows-specific patches.
Readme 564 MiB
2025-08-19 03:50:05 -05:00
Languages
C 51.5%
Shell 37.6%
Perl 4.2%
Tcl 3%
Python 0.8%
Other 2.7%