chaoss / grimoirelab-graal

A Generic Repository AnALyzer
GNU General Public License v3.0
21 stars 62 forks source link

[graal] Change logic to create worktree #76

Closed valeriocos closed 4 years ago

valeriocos commented 4 years ago

This code changes the logic to create the worktree. The default branch is used to initialize the worktree, if no branch is passed as input. Otherwise the latter is used to initialize the worktree.

This change is needed to handle repositories not having the branch master or which default branch is not master.

valeriocos commented 4 years ago

thanks @inishchith !