| Summary: | git merge failures in .scc files happen silently | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Kernel | Reporter: | Tom Zanussi <tom.zanussi> |
| Component: | kernel-configuration | Assignee: | Bruce Ashfield <bruce.ashfield> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | dvhart, sgw, yp.kernel.watcher, yp.watcher |
| Version: | 1.1-beta | ||
| Target Milestone: | 1.2 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | Fixed in the kern-tools repository. Will batch in next consolidated pull request (Dec 21, 2012) | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Tom Zanussi
2011-12-15 09:24:34 UTC
I already have a case for this .. somewhere. I'll find it and dup this to it. I couldn't find the duplicate, it wasn't entirely obvious, since it was a subpart of a case that was about build failures on the autobuilder.
So we can use this case to address this issue.
Out of curiosity, can anyone else make this fail like this on an unconfigured
box ? I wanted to test my fix by hand, but I'm not seeing failures.
> git commit -m "test commit with unconfigured git" Makefile
[yocto/standard/mti-malta32-be 5ce556b] test commit with unconfigured git
Committer: Bruce Ashfield <bruce@yow-bashfiel-l1.(none)>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 files changed, 1 insertions(+), 1 deletions(-)
yow-bashfiel-l1 [/home/bruc...8-r2/linux]> echo $?
0
>
> git merge yocto/emgd
Merge made by the 'recursive' strategy.
drivers/gpu/drm/Kconfig | 9 +
[snip]
> echo $?
130
So even in the second case, the merge happened, although the return code
is non-zero.
Must be a git version difference - your version seems OK with using the username and hostname it guessed it found, while the op's version asks '*** Please tell me who you are.'. Indeed. I was running my host version. I'll try git-native, and see what I can get. I can fix this, I'd just rather be able to test it fully! This has been merged. |