Skip to content

Commit 44326fa

Browse files
committed
Decode ConfigEntry name without prompting
1 parent bbcb464 commit 44326fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygit2/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def level(self):
311311

312312
@property
313313
def name(self):
314-
return self._entry.name
314+
return self.decode_as_string(self._entry.name)
315315

316316
@property
317317
def value_string(self):

0 commit comments

Comments
 (0)