Eric Wong <normalperson@xxxxxxxx> wrote: > When running from a top-level directory with no arguments, the first > line of git-ls-tree was being read. This allowed the test case to pass > because ls-tree sorts the output and 'directory' just happened to > be up top; so we were getting the 040000 mode from the 'directory' > tree and not the top-level tree. > > The below test should fix it for the trivial case I have. Acked-by: David D. Kilzer <ddkilzer@xxxxxxxxxx> Looks good! Thanks! Dave - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html