Autorevision.h.new ignore #4018
Comments
dak180 changed component from |
dak180 changed blocking which not transferred by tractive |
dak180 changed blockedby which not transferred by tractive |
per <per@...> changed status from |
per <per@...> changed owner from `` to |
per <per@...> changed resolution from `` to |
per <per@...> committed [667026] In Warzone2100/warzone2100@667026a:
|
vexed changed status from |
vexed changed resolution from |
vexed commented How can this file cause git pull to fail, if there is no file named autorevision.h.new in the repo ? $ git ls-files autorevision.h.new --error-unmatch So 667026afa91a023c164462a860d2799bc75a2517 wasn't needed at all... |
wz@... commented It depends on your merge configuration. --no-ff fails if there are new files in the tree. At work it's a rule because we've gotten into arguments about the history before. It's much nicer for every developer to have the same repository history which rebase gives you. |
vexed commented Doesn't the question become, why are you trying to merge in a unclean directory ? I just don't like adding things to ignore, unless it really is needed, as those things tend to get lost. |
anonymous commented Replying to Warzone2100/old-trac-import#4018 (comment:6):
The unclean bit (autorevision.h.new) is created by the Warzone make file. If the make file is going to leave things laying around it seems perfectly appropriate to add those pieces to the git ignore file. |
Cyp commented If it's created automatically, then adding to .gitignore is probably appropriate. I don't seem to have any autorevision.h.new anywhere, though, so not sure why you ended up with one. For files that aren't ever autogenerated, there's: http://stackoverflow.com/questions/1753070/git-ignore-files-only-locally |
wz@... commented Replying to Warzone2100/old-trac-import#4018 (comment:8):
If the compare is true (autorevision.h is the newest version) then autorevision.h.new is left hanging around. |
vexed commented So, it is a sloppy script at fault. |
rbt commented Replying to Warzone2100/old-trac-import#4018 (comment:10):
This will cleanup the autorevision.h.new file when it is not moved to replace autorevision.h.
|
vexed commented Replying to Warzone2100/old-trac-import#4018 (comment:11):
What did you use to generate that patch file, it won't apply when I try it. |
rbt commented
|
vexed changed status from |
vexed changed resolution from `` to |
vexed commented cleanup the autorevision.h.new file when it is not moved to replace autorevision.h Patch by rbt Changeset: a81330d516ef6562fbe8f7a0efe2ff16d58c6db0 |
vexed commented cleanup the autorevision.h.new file when it is not moved to replace autorevision.h Patch by rbt Changeset: a81330d516ef6562fbe8f7a0efe2ff16d58c6db0 |
1 similar comment
vexed commented cleanup the autorevision.h.new file when it is not moved to replace autorevision.h Patch by rbt Changeset: a81330d516ef6562fbe8f7a0efe2ff16d58c6db0 |
resolution_fixed
type_patch (an actual patch, not a request for one)
| by wz@...This file causes
git pull
to fail. It appears that it may be ignored without any issues.Issue migrated from trac:4018 at 2022-04-16 10:58:12 -0700
The text was updated successfully, but these errors were encountered: