[Bug 680339] Allow notes



https://bugzilla.gnome.org/show_bug.cgi?id=680339
  sysadmin | Git | unspecified

--- Comment #2 from Ray Strode [halfline] <rstrode redhat com> 2012-07-20 18:51:43 UTC ---
Note, attachment 219345 is untested, since it's kind of hard for me get a setup
to test it. It's just a copy-and-paste of the banch reftype code with changes
that I think make sense for notes.

Backstory is I fouled up this commit:

http://git.gnome.org/browse/gdm/commit/?id=e7b3beb03459fd6b5b774694f7e0bb8fc5e58716

to have two commits in it and didn't notice before pushing. I wanted there to
be a note in the log so I did "git notes add HEAD" and then added a message
explaining the details of my mistake, and then proceded to push the note only
to get greeted with:

remote: ---
remote: You are trying to push the ref:
remote: 
remote:   refs/notes/commits
remote: 
remote: to git.gnome.org. This is not a branch or tag.
remote: ---
To ssh://halfline git gnome org/git/gdm
 ! [remote rejected] refs/notes/commits -> refs/notes/commits (pre-receive hook
declined)
error: failed to push some refs to 'ssh://halfline git gnome org/git/gdm'

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact of the bug.
You are watching the assignee of the bug.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]