Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reading ignored/untracked files in Git #6

Merged
merged 1 commit into from
Aug 2, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix reading ignored/untracked files in Git
  • Loading branch information
Phanx committed Aug 2, 2016
commit 848b3cb19cf53bb3197a87e99344763e3423643f
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ fi

# Add untracked/ignored files to the ignore list
if [ "$repository_type" = "git" ]; then
_vcs_ignore=$( git --git-dir="$topdir/.git" ls-files --others | sed -e ':a;N;s/\n/:/;ta' )
_vcs_ignore=$( git -C "$topdir" ls-files --others | sed -e ':a;N;s/\n/:/;ta' )
if [ -n "$_vcs_ignore" ]; then
if [ -z "$ignore" ]; then
ignore="$_vcs_ignore"
Expand Down