From: Niek van der Kooy <niekvanderkooy@gmail.com>
To: git@vger.kernel.org
Subject: Issue when changing staged files in a pre-commit hook
Date: Mon, 28 Dec 2015 13:17:27 +0100 [thread overview]
Message-ID: <CAPYEnzGfnRbajDQAwBTNE5XSaB0WbHKbf1heRV0bUgbq5w_A5g@mail.gmail.com> (raw)
I am having an issue where the default commit message is not changed
when adding staged files in a pre-commit hook.
Please see http://stackoverflow.com/questions/34492779/git-update-git-status-part-of-commit-message-after-pre-commit-hook
for details.
Is there a workaround / proper way to achieve what I am trying to do,
or is this a bug?
Regards,
Niek van der Kooy
next reply other threads:[~2015-12-28 12:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-28 12:17 Niek van der Kooy [this message]
2016-01-19 11:53 ` Issue when changing staged files in a pre-commit hook Niek van der Kooy
2016-01-19 12:20 ` Duy Nguyen
2016-01-19 18:44 ` Junio C Hamano
2016-01-19 23:26 ` Duy Nguyen
2016-01-19 23:41 ` Junio C Hamano
2016-01-20 0:23 ` Duy Nguyen
2016-01-20 1:44 ` Junio C Hamano
2016-01-22 8:58 ` Duy Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPYEnzGfnRbajDQAwBTNE5XSaB0WbHKbf1heRV0bUgbq5w_A5g@mail.gmail.com \
--to=niekvanderkooy@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.