From: bors Date: Tue, 16 Jan 2018 06:11:46 +0000 (+0000) Subject: Auto merge of #4944 - mathstuf:better-gitignore-template, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~3^2~39 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c5e21db8d450a46fb092cce0e634b71c0d75d5fb;p=cargo.git Auto merge of #4944 - mathstuf:better-gitignore-template, r=alexcrichton cargo_new: drop the trailing slash for target exclusion in Git When `target` is a symlink (e.g., to keep build outputs on a separate partition), Git will not match the `/target/` ignore to the symlink since it is not a directory. Drop the trailing slash to support ignoring `target` as a symlink. --- c5e21db8d450a46fb092cce0e634b71c0d75d5fb