]> source.dussan.org Git - gitblit.git/commit
fix: Fix broken pushes to tickets
authorFlorian Zschocke <f.zschocke+git@gmail.com>
Wed, 7 Dec 2022 19:33:38 +0000 (20:33 +0100)
committerFlorian Zschocke <f.zschocke+git@gmail.com>
Wed, 7 Dec 2022 19:33:38 +0000 (20:33 +0100)
commit4baed92559bc38f421fb8ea3dd6e177db886d780
treec7424c477bcffbecbff46ee33ceb24b3a0831efb
parent60a0434ac329af040ba11ec7dedafe581a9b588e
fix: Fix broken pushes to tickets

The update of JGit broke pushes to tickets. The ReceiveCommand now
requires all three arguments, oldId, newId and name, to be not null.
The ticket code handling pushes to tickets left name and old id as
null in certain cases. This is fixed by always providing values.
src/main/java/com/gitblit/git/PatchsetCommand.java
src/main/java/com/gitblit/git/PatchsetReceivePack.java
src/main/java/com/gitblit/models/TicketModel.java