git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/2] Remove NO_ACCURATE_DIFF options from build systems

From
EWEric Wong <normalperson@yhbt.net>
Date
Dec 23, 2006, 06:18 UTC
Message-ID
<1166854684559-git-send-email-normalperson@yhbt.net>
In-Reply-To
<11668546833727-git-send-email-normalperson@yhbt.net>

The code no longer uses it, as we have --inaccurate-eof in git-apply.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 Makefile     |    6 ------
 configure.ac |    3 ---
 2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/Makefile b/Makefile
index 5492836..ebc1a17 100644
--- a/Makefile
+++ b/Makefile
@@ -79,9 +79,6 @@ all:
 #
 # Define NO_ICONV if your libc does not properly support iconv.
 #
-# Define NO_ACCURATE_DIFF if your diff program at least sometimes misses
-# a missing newline at the end of the file.
-#
 # Define USE_NSEC below if you want git to care about sub-second file mtimes
 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and
 # it will BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely
@@ -549,9 +546,6 @@ else
 endif
 endif
 endif
-ifdef NO_ACCURATE_DIFF
-	BASIC_CFLAGS += -DNO_ACCURATE_DIFF
-endif
 ifdef NO_PERL_MAKEMAKER
 	export NO_PERL_MAKEMAKER
 endif
diff --git a/configure.ac b/configure.ac
index e153d53..7cfb3a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,9 +235,6 @@ AC_SUBST(NO_SETENV)
 #
 # Define NO_SYMLINK_HEAD if you never want .git/HEAD to be a symbolic link.
 # Enable it on Windows.  By default, symrefs are still used.
-#
-# Define NO_ACCURATE_DIFF if your diff program at least sometimes misses
-# a missing newline at the end of the file.
 
 ## Site configuration (override autodetection)
 ## --with-PACKAGE[=ARG] and --without-PACKAGE
-- 
1.4.4.3.gc902c
Previous: Eric WongNext: Junio C Hamano
Message 2 of 4 in “Makefile: add quick-install-doc for installing pre-built manpages”
  1. 1/2 Makefile: add quick-install-doc for installing pre-built manpagesEric Wong, Dec 23, 2006
  2. 2/2 Remove NO_ACCURATE_DIFF options from build systemsEric Wong, Dec 23, 2006
  3. Junio C HamanoDec 23, 2006
  4. Makefile: add quick-install-doc for installing pre-built manpagesEric Wong, Dec 23, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.