Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284657 - echangelog complains about files unknown to git when they match .gitignore
Summary: echangelog complains about files unknown to git when they match .gitignore
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 284680
  Show dependency tree
 
Reported: 2009-09-12 04:37 UTC by Andrew Gaffney (RETIRED)
Modified: 2009-09-12 10:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gaffney (RETIRED) gentoo-dev 2009-09-12 04:37:34 UTC
When using echangelog with a git repo (catalyst in this case), if you have files that are covered by .gitignore in the checkout, echangelog will still complain about them and refuse to add the entry. For example:

agaffney@kagome ~/dev/git/catalyst $ echangelog "Move commandline parsing to function"
git reports the following unknown files.  Please use "git add" before
running echangelog, or remove the files in question.
? __init__.pyo
? hash.pyo
? error.pyo
? output.pyo
? util.pyo
? lock.pyo
? spawn.pyo
? config.pyo
? __init__.pyo
? __init__.pyo
? embedded.pyo
? generic_stage.pyo
? generic.pyo
? grp.pyo
? livecd_stage1.pyo
? livecd_stage2.pyo
? netboot.pyo
? snapshot.pyo
? stage1.pyo
? stage2.pyo
? stage3.pyo
? stage4.pyo
? system.pyo
? tinderbox.pyo
agaffney@kagome ~/dev/git/catalyst $ cat .gitignore 
*.py[co]

Git does not care about these files, so echangelog should not either.
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2009-09-12 10:56:04 UTC
Fixed in svn / app-portage/gentoolkit-dev-9999.
Thanks! :)