gozfree / gear-lib

Gear-Lib, C library for IOT Embedded Multimedia and Network
MIT License
3.01k stars 815 forks source link

libsort/bubble_sort refactoring #33

Closed xwyam closed 5 years ago

xwyam commented 5 years ago

https://github.com/gozfree/gear-lib/blob/10b54e53644b668a3468e9d4b87d66d16ee0cc4d/libsort/bubble_sort.c#L64

这里实现得不是十分简洁,回头有空了想简单重构下。

gozfree commented 5 years ago

欢迎贡献patch

xwyam commented 5 years ago

已提交PR,若批准Merge,可将此issue关闭

gozfree commented 5 years ago

@xwyam 建议提交patch前,git pull --rebase后再git push,就不会出现merge的git log了

xwyam commented 5 years ago

@xwyam 建议提交patch前,git pull --rebase后再git push,就不会出现merge的git log了

了解。主要是commit前忘记从upstream fetch最新代码了,后来也就没有再reset重新commit。