This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new cefbdd7488 GH-36207: [MATLAB] Add MATLAB autosave files (`.asv`) to 
the `.gitignore` (#36208)
cefbdd7488 is described below

commit cefbdd7488609000f5ae117bcb5ed6272be142ae
Author: Kevin Gurney <[email protected]>
AuthorDate: Wed Jun 21 17:36:29 2023 -0400

    GH-36207: [MATLAB] Add MATLAB autosave files (`.asv`) to the `.gitignore` 
(#36208)
    
    ### Rationale for this change
    
    By default, MATLAB will [periodically create backup 
files](https://www.mathworks.com/company/newsletters/articles/automatically-save-backup-m-files-with-the-matlab-editor.html)
 for files that are currently open in the MATLAB Editor. These files have a 
default file extension of `.asv`. To prevent these backup files from 
accidentally being committed to version control, it would be helpful to add 
`.asv` files to the `.gitignore` for the MATLAB interface.
    
    ### What changes are included in this PR?
    
    1. MATLAB autosave files (`.asv`) have been added to the `.gitignore` for 
the MATLAB interface
    
    ### Are these changes tested?
    
    1. Yes. Manually verified that files with filenames of the form 
`<filename.asv>` under the `matlab` folder are not tracked by Git.
    
    ### Are there any user-facing changes?
    
    No.
    * Closes: #36207
    
    Authored-by: Kevin Gurney <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 matlab/.gitignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/matlab/.gitignore b/matlab/.gitignore
index 564bb0c51a..26dca0d362 100644
--- a/matlab/.gitignore
+++ b/matlab/.gitignore
@@ -22,3 +22,5 @@ build/
 
 # MEX files
 *.mex*
+# MATLAB autosave files
+*.asv

Reply via email to