This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications".
The branch, neels/vty_indent_debug has been created at ade800e1018bc8960559baef314e0266b3598769 (commit)
- Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=ade800e1018bc8960559baef314e0...
commit ade800e1018bc8960559baef314e0266b3598769 Author: Neels Hofmeyr neels@hofmeyr.de Date: Tue Sep 12 04:06:50 2017 +0200
NOT FOR MERGE: vty indentation debug
Change-Id: I48f2d7c34ea160a8ca36ab83f462ffd7e660065e
http://cgit.osmocom.org/libosmocore/commit/?id=d0de6ab897249ac9a0a8f9bf46d35...
commit d0de6ab897249ac9a0a8f9bf46d3508bea55d93e Author: Neels Hofmeyr neels@hofmeyr.de Date: Tue Sep 19 23:54:01 2017 +0200
fix vty regression: empty parent node
The recent exit-by-indent patch breaks a VTY case where a node is entered but directly followed by a sibling or ancestor without listing any child nodes. Regression introduced by I24cbb3f6de111f2d31110c3c484c066f1153aac9.
An example is a common usage in osmo-bts, where 'phy N' / 'instance N' is a parent node that is commonly left empty:
phy 0 instance 0 bts 0 band 1800
Before this patch, this case produces the error:
There is no such command. Error occurred during reading the below line: bts 0
Fix indentation parsing logic in command.c to accomodate this case.
Add a unit test for empty parent node.
Change-Id: Ia0880a17ae55accb092ae8585cc3a1bec9986891
-----------------------------------------------------------------------
hooks/post-receive
osmocom-commitlog@lists.osmocom.org