Merge branch 'sb/atomic-push'
* sb/atomic-push: send-pack: unify error messages for unsupported capabilities
This commit is contained in:
@ -363,7 +363,7 @@ int send_pack(struct send_pack_args *args,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (args->atomic && !atomic_supported)
|
if (args->atomic && !atomic_supported)
|
||||||
die(_("server does not support --atomic push"));
|
die(_("the receiving end does not support --atomic push"));
|
||||||
|
|
||||||
use_atomic = atomic_supported && args->atomic;
|
use_atomic = atomic_supported && args->atomic;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user