{"thread":{"id":"6101","subject":"[PATCH 0/5] git-add/git-rm updates","startedAt":"2006-12-25T11:09:22Z","lastAt":"2006-12-25T11:09:22Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":5},"messages":[{"id":"30263","messageId":"7vr6uomdul.fsf@assigned-by-dhcp.cox.net","threadId":"6101","inReplyTo":null,"subject":"[PATCH 0/5] git-add/git-rm updates","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-12-25T11:09:22Z","receivedAt":"2006-12-25T11:09:22Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"This series futzes with a pair of functions in dir.c machinery\nand enhances git-add and git-rm command.\n\n[PATCH 1/5] match_pathspec() -- return how well the spec matched\n\nThe function match_pathspec() takes the pathspec given from the\ncommand line and tells if a given name matches it.  This\nenhances its return value so that the command can tell how well\nthe name matches.  Earlier, the caller could not tell if matched\npathspec was exactly the same as the name, was a fileglob that\nmatched the name, or was a leading directory.\n\n[PATCH 2/5] git-rm: update to saner semantics\n[PATCH 3/5] t3600: update the test for updated git rm\n\nThis updates git-rm to saner semantics Linus suggested on the\nlist earlier, and updates the tests.  When a path is removed, it\nis removed both from the working tree and from the index.  As a\nsafety measure, the path is required to be cache-clean, and also\nmust match the HEAD (unless it is before the initial commit on\nthe branch).\n\n[PATCH 4/5] read_directory: show_both option.\n\nThe function read_directory() is the workhorse to traverse\nworking tree while taking '.gitignore' into account.  This\nupdates the function to allow callers that are interested in\nboth ignored and non-ignored paths to get both paths so that it\ncan do its own filtering on the result.\n\n[PATCH 5/5] git-add: add ignored files when asked explicitly.\n\nOne thing many people found confusing about git-add was that a\nfile whose name matches an ignored pattern could not be added.\nThis is an RFC fix for the problem.\n"}]}