Display the stashes creation date. Also add a tooltip text for the stash in order to make easier to read the full name.

Fix in Process::create when parsing command arguments from string.
Fix text-align in UITooltip.
Fix in GitPlugin refreshing repositories during git lock files changes.
This commit is contained in:
Martín Lucas Golini
2024-10-25 00:10:30 -03:00
parent 8df0462320
commit 9ef654929c
16 changed files with 162 additions and 27 deletions

View File

@@ -503,8 +503,15 @@ void GitPlugin::onFileSystemEvent( const FileEvent& ev, const FileInfo& file ) {
if ( mShuttingDown || isLoading() )
return;
if ( String::startsWith( file.getFilepath(), mGit->getGitFolder() ) &&
( file.getExtension() == "lock" || file.isDirectory() ) )
if ( file.isDirectory() )
return;
auto inGitFolder = file.getFilepath().find( "/.git/" ) != std::string::npos;
#if EE_PLATFORM == EE_PLATFORM_WIN
inGitFolder |= file.getFilepath().find( "\\.git\\" ) != std::string::npos;
#endif
if ( inGitFolder && file.getExtension() == "lock" )
return;
updateUI();