does `git commit` modify $GIT_DIR/index? i just diffed index from before and after a commit and found no difference. i'm guessing this is reliable behavior, but i wanted to make sure. it seems like the idea of index is that it's always ready and waiting to be turned into the next commit. so commits wouldn't ever modify it.
i'm writing a script that depends on this behavior and i want to make sure i have the concepts right. i searched online but found mostly posts telling me higher level stuff, like that "you have to add to the staging area before committing". i also searched the archives for this mailing list, but there's a _lot_ to go through. sorry if this is a repeat. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
