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

git not tracking changes

From
DBDeepak Barua <dbbarua@gmail.com>
Date
Jan 2, 2007, 05:52 UTC
Message-ID
<b5a19cd20701012152n4f496198h93cab1b9b85a9a45@mail.gmail.com>
Hi,
    When i do a git add of a config.h file then make some changes and
then do git commit it does not reflect the changes..
eg
dep@zion:~/programs/elinks/elinks-0.11-20061220$ git add config.h
dep@zion:~/programs/elinks/elinks-0.11-20061220$ vi config.h
dep@zion:~/programs/elinks/elinks-0.11-20061220$ git commit
nothing to commit
dep@zion:~/programs/elinks/elinks-0.11-20061220$ git commit
nothing to commit
dep@zion:~/programs/elinks/elinks-0.11-20061220$ ls
ABOUT-NLS     autogen.sh  config.h       configure     debian
INSTALL             Makefile.lib  SITES   TODO
acinclude.m4  BUGS        config.h.in    configure.in  doc
Makefile            NEWS          src     Unicode
aclocal.m4    ChangeLog   config.log     contrib       features.conf
Makefile.config     po            test
AUTHORS       config      config.status  COPYING       features.log
Makefile.config.in  README        THANKS
dep@zion:~/programs/elinks/elinks-0.11-20061220$

I am working on the hooks part modifying the perl script in the same in the pre-commit hook but that is not related to this ... what could be the problem...?

Also another file which you can see in the directory called "NEWS" is being taken in to consideration... the hook "pre-commit" is enabled and am adding a spell checker to it... Regards Deepak

-- 
Code Code Code Away
Next: Shawn O. Pearce
Message 1 of 3 in “git not tracking changes”
  1. Deepak BaruaJan 2, 2007
  2. Shawn O. PearceJan 2, 2007
  3. Deepak BaruaJan 2, 2007

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.