commit | 7e30c72d03de540655b9569c38e5f5b8eb0de74e | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Thu Mar 04 20:01:11 2010 -0800 |
committer | Shawn O. Pearce <sop@google.com> | Thu Mar 04 20:01:15 2010 -0800 |
tree | fc4d1e56f264b3ab30e8177bfc0c54ee2877c502 | |
parent | 6f2ccde49b4b270d3f649db1578d11e3a0b0689c [diff] |
Reject pushing to invalid reference names If a reference name is not valid according to Git's rules for the allowable syntax, or it contains "//" because a typo on the client side introduced an unnecessary slash, reject the command with an error. Bug: issue 466 Change-Id: I89d8137a89225bc31813f5870d75568e5080b059 Signed-off-by: Shawn O. Pearce <sop@google.com>