wearefractal/glob-stream — pull request #11 by azweb76 (2013-12-28 00:11:56+00:00)
Title: Add cwdbase option to enable file base to match cwd.

By setting cwdbase: true, all files returned from glob will have a relative path being relative to the cwd. This is useful if you want perform operations on multiple directories relative to the cwd and not relative to the lowest glob expression.

Example:
gulp.src(["lib/**", "bin/**"], { cwd: process.cwd, cwdbase: true }).pipe(gulp.dest("/mydest/"));

This will result in /mydest/lib/ and /mydest/bin/ compared to /mydest/