On 4/10/07, Linus Torvalds <torvalds@linux-foundation.org> wrote:At least git-update-index should work. --- builtin-update-index.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/builtin-update-index.c b/builtin-update-index.c index 47d42ed..55c9f93 100644 --- a/builtin-update-index.c +++ b/builtin-update-index.c @@ -94,12 +94,10 @@ static int process_file(const char *path) path); } } - if (0 == status) - return error("%s: is a directory - add files inside instead", - path); - else + if (status) return error("lstat(\"%s\"): %s", path, strerror(errno)); + /* could be a subproject */ } namelen = strlen(path); @@ -211,7 +209,7 @@ static void update_one(const char *path, const char *prefix, int prefix_length) goto free_return; } if (process_file(p)) - die("Unable to process file %s", path); + die("Unable to process \"%s\"", path); report("add '%s'", path); free_return: if (p < path || p > path + strlen(path)) -- 1.5.1.147.gbaa5
| Andrew Morton | -mm merge plans for 2.6.23 |
| jjohansen | [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| holzheu | Re: [RFC/PATCH] Documentation of kernel messages |
git: | |
| David Miller | Re: [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 36/37] dccp: Initialisation and type-checking of feature sysctls |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
