From cf1e5d7d2b72d0a9ee69e70683ffcd213b12b99c Mon Sep 17 00:00:00 2001 From: "Gao, Xiang" Date: Thu, 3 Dec 2020 16:10:05 -0800 Subject: [PATCH] Ignore MSVC's pdb file (#47963) Summary: These files are generated by MSVC when building with debug symbols `REL_WITH_DEB_INFO=1`: ``` PS C:\Users\Xiang Gao\source\repos\pytorch> git status On branch master Your branch is up to date with 'origin/master'. Untracked files: (use "git add ..." to include in what will be committed) torch/lib/asmjit.pdb torch/lib/c10.pdb torch/lib/c10_cuda.pdb torch/lib/caffe2_detectron_ops_gpu.pdb torch/lib/caffe2_module_test_dynamic.pdb torch/lib/caffe2_observers.pdb torch/lib/fbgemm.pdb torch/lib/shm.pdb torch/lib/torch_cpu.pdb torch/lib/torch_cuda.pdb nothing added to commit but untracked files present (use "git add" to track) ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/47963 Reviewed By: heitorschueroff Differential Revision: D25311564 Pulled By: malfet fbshipit-source-id: 1a7125f3c6ff296b4bb0975ee97b59c23586b1cb --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 10994ba7a64b..5de02417430e 100644 --- a/.gitignore +++ b/.gitignore @@ -76,6 +76,7 @@ torch/lib/*.exe* torch/lib/*.dylib* torch/lib/*.h torch/lib/*.lib +torch/lib/*.pdb torch/lib/*.so* torch/lib/protobuf*.pc torch/lib/build