Bug 15053 - .gitignore causes file not to commit
Summary: .gitignore causes file not to commit
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.16.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2022-04-25 09:00 UTC by wangrong
Modified: 2022-04-26 08:48 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description wangrong 2022-04-25 09:00:15 UTC
I downloaded the samba 4.16.0 source code, then uploaded it to gerrit and built it.
But the build is failing, it shows "../../third_party/heimdal/lib/asn1/symbol.h:39:10: fatal error: heimqueue.h: No such file or directory".
The reason is that the file (heimqueue.h) is ignored when git commits.
The filter rule is "third_party/heimdal/.gitignore:127:/include/*.h" .
Can we add exceptions to the filter file (third_party/heimdal/.gitignore)?
Comment 1 Stefan Metzmacher 2022-04-26 08:28:53 UTC
(In reply to wangrong from comment #0)

No sorry, if you want to create a git branch from a downloaded tar.gz,
you should use 'git add -f' to add files.

third_party/heimdal/ is an exact copy of
which is based on 
Comment 2 wangrong 2022-04-26 08:48:36 UTC
(In reply to Stefan Metzmacher from comment #1)

Thank you for your reply