[coreboot-gerrit] Change in coreboot[master]: util/gitconfig: Make gitconfig.sh support gitfile

Alex Thiessen (Code Review) gerrit at coreboot.org
Sun Jan 14 12:15:49 CET 2018


Hello build bot (Jenkins), 

I'd like you to reexamine a change. Please visit

    https://review.coreboot.org/23253

to look at the new patch set (#3).

Change subject: util/gitconfig: Make gitconfig.sh support gitfile
......................................................................

util/gitconfig: Make gitconfig.sh support gitfile

The `gitconfig.sh` script installs hooks to the according directories
(for coreboot and its submodules). It has the `hooks` directory
hard-coded to be `.git/hooks`, which makes the installation fail when
coreboot itself is a submodule because then `.git` becomes a gitfile.

Replace hard-coded path handling using the according `git rev-parse`
calls.

Change-Id: I778e20be24bb27d0081c9e1c12883117d6d50347
Signed-off-by: Alex Thiessen <alex.thiessen+coreboot at gmail.com>
---
M util/gitconfig/gitconfig.sh
1 file changed, 21 insertions(+), 14 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/23253/3
-- 
To view, visit https://review.coreboot.org/23253
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I778e20be24bb27d0081c9e1c12883117d6d50347
Gerrit-Change-Number: 23253
Gerrit-PatchSet: 3
Gerrit-Owner: Alex Thiessen <alex.thiessen.de+coreboot at gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180114/90891c02/attachment.html>


More information about the coreboot-gerrit mailing list