mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-27 22:24:58 +02:00
merge master
This commit is contained in:
commit
2d4ddee60f
1 changed files with 1 additions and 1 deletions
|
@ -1617,7 +1617,7 @@ GitEngine.prototype.resolveName = function(someRef) {
|
|||
return 'commit ' + obj.get('id');
|
||||
}
|
||||
if (obj.get('type') == 'branch') {
|
||||
return 'branch "' + obj.get('id') + '"';
|
||||
return 'branch "' + obj.get('id').replace(/\bmaster\b/, 'main') + '"';
|
||||
}
|
||||
// we are dealing with HEAD
|
||||
return this.resolveName(obj.get('target'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue