OS-8384: Add src/smartdc/bin/pkgsrc-setup to smartos-live/.gitignore

Details

Issue Type:Bug
Priority:5 - Low
Status:Resolved
Created at:2022-05-06T00:47:59.785Z
Updated at:2022-05-12T15:22:54.415Z

People

Created by:Dan McDonald
Reported by:Dan McDonald

Fix Versions

2022-05-19 Riviera (Release Date: 2022-05-19)

Related Issues

Related Links

Description

git status shows:

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        src/smartdc/bin/pkgsrc-setup

when it probably shouldn’t. Overlooked by [https://mnx.atlassian.net/browse/TRITON-2258|https://mnx.atlassian.net/browse/TRITON-2258|smart-link].

Comments

Comment by Dan McDonald
Created at 2022-05-12T15:04:33.160Z

Testing:

smartos-build-2(~/smartos-live)[0]% git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        src/smartdc/bin/pkgsrc-setup

nothing added to commit but untracked files present (use "git add" to track)
smartos-build-2(~/smartos-live)[0]% mv /tmp/.gitignore .
mv: overwrite ./.gitignore (yes/no)? y
smartos-build-2(~/smartos-live)[0]% git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   .gitignore

no changes added to commit (use "git add" and/or "git commit -a")
smartos-build-2(~/smartos-live)[0]%