mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
fix: bug with how git authors were handled in tui
This commit is contained in:
@@ -460,6 +460,13 @@ func Entry() []string {
|
||||
}
|
||||
for i := range selected {
|
||||
short := dupProtect[i]
|
||||
if short == "" {
|
||||
split := strings.Split(i, " - ")
|
||||
name := split[0]
|
||||
email := split[1]
|
||||
utils.TempAddUser(name, email)
|
||||
short = name
|
||||
}
|
||||
if negation {
|
||||
short = "^" + short
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user