From be4a4c97be4afa6ac4808808841a97bdf5661e04 Mon Sep 17 00:00:00 2001 From: Dylan Reid Date: Fri, 16 Jun 2017 10:45:36 -0700 Subject: [PATCH] gitignore: Remove Cargo.lock Cargo.lock will need to be checked in to ensure reproducible builds. However continue to ignore Cargo.lock in subdirectories as the main Cargo.lock shouls dictate the versions of everything. Change-Id: I448527b3c23bb9de939682ec1a78fd06a2530857 Signed-off-by: Dylan Reid Reviewed-on: https://chromium-review.googlesource.com/538067 Reviewed-by: Zach Reizner --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b6d5cb1a19..6ead6aa9f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ target/ **/*.rs.bk -Cargo.lock **/*.sw[po] **/*.orig +**/Cargo.lock +!/Cargo.lock