Re: [PATCH 19/27] sha1_file: add repository argument to map_sha1_file_1
- From
- Jonathan Tan <jonathantanmy@google.com>
- Date
- Feb 22, 2018, 00:36 UTC
- Message-ID
- <20180221163630.a69b33acadf774753cf747ba@google.com>
- In-Reply-To
- <20180221015430.96054-20-sbeller@google.com>
On Tue, 20 Feb 2018 17:54:22 -0800 Stefan Beller <sbeller@google.com> wrote:
Show 10 quoted lines
> Add a repository argument to allow the map_sha1_file_1 caller to be > more specific about which repository to act on. This is a small > mechanical change; it doesn't change the implementation to handle > repositories other than the_repository yet. > > As with the previous commits, use a macro to catch callers passing a > repository other than the_repository at compile time. > > Signed-off-by: Stefan Beller <sbeller@google.com> > Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>