mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Set path for the commit window document
This is so that the commit window’s text view sources project specific settings.
This commit is contained in:
committed by
Allan Odgaard
parent
062a939189
commit
8fd1e1088d
@@ -360,6 +360,7 @@ static void* kOakCommitWindowIncludeItemBinding = &kOakCommitWindowIncludeItemBi
|
||||
}
|
||||
|
||||
document::document_ptr commitMessage = document::from_content("", fileType);
|
||||
commitMessage->set_virtual_path(path::join(_environment["TM_PROJECT_DIRECTORY"], "commit-message.txt"));
|
||||
|
||||
if(NSString* logArgument = [self.options objectForKey:@"--log"])
|
||||
commitMessage->set_content(to_s(logArgument));
|
||||
|
||||
Reference in New Issue
Block a user