Domich, Yes, you need install the “change-id” hook in your local git clone, by following Ning’s hint. After that, you need to `git commit - -amend` to update your commit.
thanks - jf.ding On Thursday, September 11, 2014 at 8:41 AM, Wang, Ning W wrote: > Hi > > Please run below command in the source folder before you do git push. > scp -p -P 29418 [email protected] > (mailto:[email protected]):hooks/commit-msg .git/hooks/ > > Thanks, > Ning > From: Dev [mailto:[email protected]] On Behalf Of ??? > Sent: Thursday, September 11, 2014 8:28 AM > To: [email protected] (mailto:[email protected]) > Subject: [Dev] I faced an issue while contributing the source code to tizen. > I need help > > Hi, > I am now making the js validator based on the tizen web app checker. > I have found some issues and i fixed them. > So, I want to push the code. > but I faced below error. > I was googling for 2 days and i applied their solution. but i can't solve the > problem. > please help me if there is anyone who has faced same problem > > tta@ubuntu:~/prj/web-app-checker/web/src$ > (mailto:tta@ubuntu:~/prj/web-app-checker/web/src$) git push origin > HEAD:refs/for/tizen > Counting objects: 31, done. > Compressing objects: 100% (8/8), done. > Writing objects: 100% (10/10), 1.29 KiB | 0 bytes/s, done. > Total 10 (delta 7), reused 0 (delta 0) > remote: Resolving deltas: 100% (7/7) > remote: > remote: Processing changes: refs: 1, done > remote: ERROR: missing Change-Id in commit message footer > remote: Suggestion for commit message: > remote: [report for package config] fix a bug for searching the line number > which an error occured > remote: In our project, we added some elements which it is possible to be > added multiple time in the config file with other property value. > remote: but now the function checks whether there are some property and > value, or not. As a result, the function returns incorrect line number. > remote: so I give al l the properties and value as the parameter of the > function and check the sequence of them. > remote: > remote: Change-Id: I226898ce3ec023db9fc5f1153b38dda254762e21 > remote: > remote: Hint: To automatically insert Change-Id, install the hook: > remote: gitdir=$(git rev-parse --git-dir); scp -p -P 29418 > [email protected] (mailto:[email protected]):hooks/commit-msg > ${gitdir}/hooks/ > remote: > remote: > To ssh://[email protected]:29418/sdk/tools/web-app-checker.git > ! [remote rejected] HEAD -> refs/for/tizen (missing Change-Id in commit > message footer) > error: failed to push some refs to > 'ssh://[email protected]:29418/sdk/tools/web-app-checker.git' > > > > > _______________________________________________ > Dev mailing list > [email protected] (mailto:[email protected]) > https://lists.tizen.org/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
