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

git commit (or git-commit-script) question

From
JSJohnny Stenback <jst@jstenback.com>
Date
Aug 19, 2005, 17:06 UTC
Message-ID
<4306119C.8000600@jstenback.com>
Hey all,
git-commit-script --help says:

git commit [-a] [-m <message>] [-F <logfile>] [(-C|-c) <commit>] [<path>...]

That made me assume that if I do:
   git-commit-script somedir

it would *only* commit the changes I've made in "somedir", but it appears to commit *all* files that have changed (and shows all files in the list of changed files in the commit message it displays in the editor), as if it's completely ignoring the <path> argument.

Known problem? I got this using git that I pulled from kernel.org earlier this morning.

-- 
jst
Next: Linus Torvalds
Message 1 of 4 in “git commit (or git-commit-script) question”
  1. Johnny StenbackAug 19, 2005
  2. Linus TorvaldsAug 19, 2005
  3. Johnny StenbackAug 19, 2005
  4. Junio C HamanoAug 19, 2005

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.