From: Prakash Surya <surya1@llnl.gov>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] [wc-discuss] Lustre code style Git commit hooks and
Date: Wed, 9 Nov 2011 09:40:13 -0800 [thread overview]
Message-ID: <20111109174013.GA9136@llnl.gov> (raw)
In-Reply-To: <855EC42A-3184-49A5-AC6E-9C5012166319@whamcloud.com>
On Wed, Nov 09, 2011 at 09:04:58AM -0800, Andreas Dilger wrote:
> On 2011-11-09, at 9:27 AM, James Simmons <jsimmons@infradead.org> wrote:
> >
> >>>
> > Speaking of I just attempted to push a patch and noticed that no Change-Id
> > is being generated when I commit a new patch. This is with the default
> > hooks that I copied form build directory.
>
> Is this from the tip of the master branch?
>
> An earlier version of the commit-msg hook used "git hash-object -t commit" and it caused an empty Change-Id string for older versions of Git. The "-t commit" option was removed from the latest version and solved the problem for the people that used it.
>
> If updating to the latest version (or removing "-t commit") my fix this for you, please file a bug assigned to me and we can work it out.
>
> The contents of the .git directory are not under revision control, so it isn't possible to automatically update the commit hooks. At some point I'd like to update the hooks via "make", but was holding off until I have more confidence that issues like this related to different development environments are fixed.
Alternatively, one could also use symlinks in .git to point to the files
in the lustre build directory. It's kind of a hack, but it keeps the
hooks up to date. And that way, the lustre build process doesn't have
to muck with the user's .git directory.
>
> Thanks for the feedback.
>
> Cheers, Andreas
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-devel
--
Cheers,
Prakash
next prev parent reply other threads:[~2011-11-09 17:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-02 19:17 [Lustre-devel] Lustre code style Git commit hooks and Andreas Dilger
2011-11-03 22:28 ` [Lustre-devel] [wc-discuss] " Prakash Surya
2011-11-04 16:40 ` Andreas Dilger
2011-11-04 21:47 ` Brian J. Murrell
2011-11-09 16:27 ` James Simmons
2011-11-09 17:04 ` Andreas Dilger
2011-11-09 17:40 ` Prakash Surya [this message]
2011-11-09 19:23 ` James Simmons
2011-11-09 22:00 ` [Lustre-devel] [wc-discuss] Lustre code style Git commit hooks Andreas Dilger
2011-11-14 16:08 ` James Simmons
2011-11-14 18:10 ` Prakash Surya
2011-11-14 19:14 ` James Simmons
2011-11-15 8:55 ` Andreas Dilger
2011-11-15 14:23 ` Bruce Korb
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=20111109174013.GA9136@llnl.gov \
--to=surya1@llnl.gov \
--cc=lustre-devel@lists.lustre.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.