Closed Fastjur closed 8 years ago
Looks very good! 👍
Added one commit to your branch to change the type of branchDeletion
to be a Boolean
. The other changes don't really have to be implemented I suppose. I think we can merge this. Perhaps it will be good (if not to difficult) to add a test case for it as well.
Students quite often request to be able to remove ahead branches as well. Maybe we should also think how we want users to be able to do that. Maybe we should allow for any branch other than refs/heads/master
to be removed through the Git CLI, and not implement this in Devhub UI.
Yes I heard many complaints about 'ahead' branches as well. My idea was to just get this one out quickly, as this removes most peoples problems. And then build a simple change on top of it for ahead branches.
I personally had the idea to show a popup, asking the user to type the branchname in as conformation, to prevent accidental removal of ahead branches, and then a big red warning in this popup.
Are you still working on this branch by the way, or is it ready to be merged?
It can be merged, I will ask you somethings during the next seminar about the git-server. Then I can implement the tests.
Ready to merge, tests will be implemented after next seminar
Thanks! :+1:
Attempted to name branch using some standard conventions to see if GitHub picked this up correctly, unfortunately not. So will use descriptive branch names from now on.
This feature still needs testing