mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
chore: remove duplicate word in comments
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
@@ -44,7 +44,7 @@ func (f *File) Names() []string {
|
|||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns true if the file names are the same or if a a file rename includes the filename of the other
|
// returns true if the file names are the same or if a file rename includes the filename of the other
|
||||||
func (f *File) Matches(f2 *File) bool {
|
func (f *File) Matches(f2 *File) bool {
|
||||||
return utils.StringArraysOverlap(f.Names(), f2.Names())
|
return utils.StringArraysOverlap(f.Names(), f2.Names())
|
||||||
}
|
}
|
||||||
|
@@ -147,7 +147,7 @@ func (self *cmdObjRunner) runWithCredentialHandling(cmdObj ICmdObj) error {
|
|||||||
promptFn = failPromptFn
|
promptFn = failPromptFn
|
||||||
case NONE:
|
case NONE:
|
||||||
// we should never land here
|
// we should never land here
|
||||||
return errors.New("runWithCredentialHandling called but cmdObj does not have a a credential strategy")
|
return errors.New("runWithCredentialHandling called but cmdObj does not have a credential strategy")
|
||||||
}
|
}
|
||||||
|
|
||||||
return self.runAndDetectCredentialRequest(cmdObj, promptFn)
|
return self.runAndDetectCredentialRequest(cmdObj, promptFn)
|
||||||
|
Reference in New Issue
Block a user